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

Disassembly:
sub esp, 0x7c
push ebx
push ebp
push esi
mov esi, eax
push edi
mov edi, dword [esp + 0x94]
lea eax, [esp + 0x10]
mov ebx, 1
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x74]
mov ecx, edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
call fcn.1004c310
test eax, eax
jg 0x1004d593
lea eax, [ebx - 5]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
xor ebp, ebp
lea ecx, [esp + 0x74]
push edi
push ecx
mov eax, esi
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], ebp
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
call fcn.1004d2d0
mov edi, eax
add esp, 8
cmp edi, ebp
jne 0x1004d999
lea edx, [esp + 0x10]
lea eax, [esp + 0x80]
lea ecx, [esp + 0x74]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], edx
call fcn.1004c310
test eax, eax
je 0x1004d65a
lea edi, [ebp - 0xe]
jmp 0x1004d999
push esi
mov esi, dword [esp + 0x98]
lea eax, [esp + 0x60]
call fcn.1004d190
mov edi, eax
add esp, 4
cmp edi, ebp
jne 0x1004d999
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x24]
call fcn.1004ba00
mov edi, eax
add esp, 4
cmp edi, ebp
jne 0x1004d999
push esi
lea eax, [esp + 0x6c]
call fcn.1004ba00
mov edi, eax
add esp, 4
cmp edi, ebp
jne 0x1004d999
push esi
lea eax, [esp + 0x48]
call fcn.1004ba00
mov edi, eax
add esp, 4
cmp edi, ebp
jne 0x1004d999
push ebx
lea esi, [esp + 0x30]
call fcn.1004bd80
mov edi, eax
add esp, 4
cmp edi, ebp
jne 0x1004d999
push ebp
lea esi, [esp + 0x3c]
call fcn.1004bd80
mov edi, eax
add esp, 4
cmp edi, ebp
jne 0x1004d999
push ebp
lea esi, [esp + 0x18]
call fcn.1004bd80
mov edi, eax
add esp, 4
cmp edi, ebp
jne 0x1004d999
push ebx
lea esi, [esp + 0x54]
call fcn.1004bd80
mov edi, eax
add esp, 4
cmp edi, ebp
jne 0x1004d999
lea ecx, [ecx]
mov ecx, dword [esp + 0x28]
test byte [ecx], bl
jne 0x1004d7bd
lea esp, [esp]
mov eax, ebx
lea ecx, [esp + 0x20]
call fcn.1004c1b0
mov edi, eax
cmp edi, ebp
jne 0x1004d999
mov edx, dword [esp + 0x34]
test byte [edx], bl
jne 0x1004d755
mov eax, dword [esp + 0x40]
test byte [eax], bl
je 0x1004d787
lea eax, [esp + 0x2c]
lea esi, [esp + 0x68]
mov ecx, eax
call fcn.1004c6e0
mov edi, eax
cmp edi, ebp
jne 0x1004d999
lea eax, [esp + 0x38]
lea esi, [esp + 0x5c]
mov ecx, eax
call fcn.1004c730
mov edi, eax
cmp edi, ebp
jne 0x1004d999
mov eax, ebx
lea ecx, [esp + 0x2c]
call fcn.1004c1b0
mov edi, eax
cmp edi, ebp
jne 0x1004d999
mov eax, ebx
lea ecx, [esp + 0x38]
call fcn.1004c1b0
mov edi, eax
cmp edi, ebp
jne 0x1004d999
mov ecx, dword [esp + 0x28]
test byte [ecx], bl
je 0x1004d730
mov edx, dword [esp + 0x4c]
test byte [edx], bl
jne 0x1004d85d
lea esp, [esp]
mov eax, ebx
lea ecx, [esp + 0x44]
call fcn.1004c1b0
mov edi, eax
cmp edi, ebp
jne 0x1004d999
mov eax, dword [esp + 0x1c]
test byte [eax], bl
jne 0x1004d7f5
mov ecx, dword [esp + 0x58]
test byte [ecx], bl
je 0x1004d827
lea eax, [esp + 0x14]
lea esi, [esp + 0x68]
mov ecx, eax
call fcn.1004c6e0
mov edi, eax
cmp edi, ebp
jne 0x1004d999
lea eax, [esp + 0x50]
lea esi, [esp + 0x5c]
mov ecx, eax
call fcn.1004c730
mov edi, eax
cmp edi, ebp
jne 0x1004d999
mov eax, ebx
lea ecx, [esp + 0x14]
call fcn.1004c1b0
mov edi, eax
cmp edi, ebp
jne 0x1004d999
mov eax, ebx
lea ecx, [esp + 0x50]
call fcn.1004c1b0
mov edi, eax
cmp edi, ebp
jne 0x1004d999
mov edx, dword [esp + 0x4c]
test byte [edx], bl
je 0x1004d7d0
lea eax, [esp + 0x44]
lea ecx, [esp + 0x20]
call fcn.1004c310
test eax, eax
jl 0x1004d8ac
lea eax, [esp + 0x20]
lea esi, [esp + 0x44]
mov ecx, eax
call fcn.1004c730
mov edi, eax
cmp edi, ebp
jne 0x1004d999
lea eax, [esp + 0x2c]
lea esi, [esp + 0x14]
mov ecx, eax
call fcn.1004c730
mov edi, eax
cmp edi, ebp
jne 0x1004d999
lea eax, [esp + 0x38]
lea esi, [esp + 0x50]
mov ecx, eax
jmp 0x1004d8e8
lea eax, [esp + 0x44]
lea esi, [esp + 0x20]
mov ecx, eax
call fcn.1004c730
mov edi, eax
cmp edi, ebp
jne 0x1004d999
lea eax, [esp + 0x14]
lea esi, [esp + 0x2c]
mov ecx, eax
call fcn.1004c730
mov edi, eax
cmp edi, ebp
jne 0x1004d999
lea eax, [esp + 0x50]
lea esi, [esp + 0x38]
mov ecx, eax
call fcn.1004c730
mov edi, eax
cmp edi, ebp
jne 0x1004d999
lea eax, [esp + 0x20]
push eax
xor eax, eax
call fcn.1004c3d0
add esp, 4
test eax, eax
jne 0x1004d720
lea ecx, [esp + 0x14]
push ecx
call fcn.1004c3d0
add esp, 4
test eax, eax
jge 0x1004d94d
nop
mov esi, dword [esp + 0x94]
lea eax, [esp + 0x14]
mov ecx, eax
call fcn.1004c6e0
mov edi, eax
cmp edi, ebp
jne 0x1004d999
lea edx, [esp + 0x14]
push edx
xor eax, eax
call fcn.1004c3d0
add esp, 4
test eax, eax
jl 0x1004d920
jmp 0x1004d954
mov esi, dword [esp + 0x94]
mov eax, esi
lea ecx, [esp + 0x14]
call fcn.1004c310
test eax, eax
jl 0x1004d983
lea eax, [esp + 0x14]
mov ecx, eax
call fcn.1004c730
mov edi, eax
cmp edi, ebp
jne 0x1004d999
mov eax, esi
lea ecx, [esp + 0x14]
call fcn.1004c310
test eax, eax
jge 0x1004d963
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x94]
call fcn.1004ba00
add esp, 4
mov edi, eax
lea esi, [esp + 0x5c]
call fcn.1004b890
lea esi, [esp + 0x20]
call fcn.1004b890
lea esi, [esp + 0x2c]
call fcn.1004b890
lea esi, [esp + 0x38]
call fcn.1004b890
lea esi, [esp + 0x74]
call fcn.1004b890
lea esi, [esp + 0x68]
call fcn.1004b890
lea esi, [esp + 0x44]
call fcn.1004b890
lea esi, [esp + 0x14]
call fcn.1004b890
lea esi, [esp + 0x50]
call fcn.1004b890
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret