Function at 0x44b340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4aeabe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd0
mov eax, dword [0x4cb400]
push ebx
push esi
push edi
mov esi, ecx
push 0x2c
push str.attrresitemcombinmagicbox.txt
lea ecx, [esp + 0x88]
mov dword [esp + 0xdc], eax
mov dword [esp + 0x58], esi
call fcn.0047d3d0
mov eax, dword [esp + 0x88]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0xe4], ebx
lea ecx, [esp + 0x80]
jle 0x44b3bb
push 2
push str.goldcool
call fcn.0047d0d0
test eax, eax
lea ecx, [esp + 0x80]
jne 0x44b3d2
mov dword [esp + 0xe4], 0xffffffff
call fcn.0047cc20
xor al, al
jmp 0x44b6c1
push ebx
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x30], ebx
call fcn.0047d090
test eax, eax
jne 0x44b403
lea ecx, [esp + 0x80]
mov dword [esp + 0xe4], 0xffffffff
call fcn.0047cc20
xor al, al
jmp 0x44b6c1
lea edi, [esi + 4]
mov ecx, edi
call fcn.00449c10
lea ecx, [esi + 0x10]
call fcn.004451e0
cmp dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
jle 0x44b6a8
jmp 0x44b430
mov esi, dword [esp + 0x50]
lea esp, [esp]
push 2
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x88]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
call fcn.0047d010
push 2
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x88]
call fcn.0047d010
push 2
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x88]
call fcn.0047d010
push 2
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x88]
call fcn.0047d010
push 2
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x88]
call fcn.0047d010
push 2
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x88]
call fcn.0047d050
push 2
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x88]
call fcn.0047d010
push 2
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x88]
call fcn.0047d010
push 2
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x88]
call fcn.0047d010
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x50]
push edx
mov ecx, edi
call fcn.00443e30
mov eax, dword [esi + 8]
mov esi, dword [esp + 0x4c]
cmp esi, eax
je 0x44b589
movsx ecx, word [esp + 0x1c]
movsx eax, word [esp + 0x24]
lea edx, [esp + 0x44]
mov dword [esp + 0x48], ecx
push edx
lea ecx, [esi + 0x18]
mov dword [esp + 0x48], eax
call fcn.00448640
mov edx, dword [esp + 0x14]
cmp dx, bx
jle 0x44b687
mov ecx, dword [esp + 0x18]
cmp cx, bx
jle 0x44b687
mov eax, dword [esp + 0x20]
cmp ax, bx
jle 0x44b687
movsx edx, dx
movsx ecx, cx
mov dword [esp + 0x44], edx
movsx edx, ax
shl ecx, 0x10
or ecx, edx
lea eax, [esp + 0x44]
mov dword [esp + 0x48], ecx
push eax
lea ecx, [esi + 0x2c]
call fcn.00448640
jmp 0x44b687
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov cx, word [esp + 0x3c]
mov dx, word [esp + 0x10]
movsx eax, word [esp + 0x24]
mov word [esp + 0x56], cx
movsx ecx, word [esp + 0x1c]
mov word [esp + 0x54], dx
lea edx, [esp + 0x34]
mov dword [esp + 0x38], ecx
push edx
lea ecx, [esp + 0x60]
mov byte [esp + 0xe8], 2
mov dword [esp + 0x38], eax
call fcn.00448640
mov edx, dword [esp + 0x14]
cmp dx, bx
mov ax, word [esp + 0x2c]
mov ecx, dword [esp + 0x40]
mov word [esp + 0x58], ax
mov dword [esp + 0x6c], ecx
jle 0x44b62e
mov ecx, dword [esp + 0x18]
cmp cx, bx
jle 0x44b62e
mov eax, dword [esp + 0x20]
cmp ax, bx
jle 0x44b62e
movsx edx, dx
movsx ecx, cx
mov dword [esp + 0x34], edx
movsx edx, ax
shl ecx, 0x10
or ecx, edx
lea eax, [esp + 0x34]
mov dword [esp + 0x38], ecx
push eax
lea ecx, [esp + 0x74]
call fcn.00448640
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x14]
push edx
mov ecx, edi
call fcn.0044acf0
mov ecx, eax
call fcn.00448530
mov eax, dword [esp + 0x74]
cmp eax, ebx
mov byte [esp + 0xe4], bl
je 0x44b65e
push eax
call fcn.00496b1d
add esp, 4
mov eax, dword [esp + 0x60]
cmp eax, ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
je 0x44b67b
push eax
call fcn.00496b1d
add esp, 4
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
lea ecx, [esp + 0x80]
call fcn.0047cc60
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
inc eax
cmp eax, ecx
mov dword [esp + 0x30], eax
jl 0x44b425
lea ecx, [esp + 0x80]
mov dword [esp + 0xe4], 0xffffffff
call fcn.0047cc20
mov al, 1
mov ecx, dword [esp + 0xdc]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xd4]
call fcn.00496e0f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret