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

Disassembly:
sub esp, 0x46c
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi]
cmp esi, edi
je 0x49fc87
mov eax, dword [esi + 8]
push eax
call fcn.0051b80d
mov esi, dword [esi]
add esp, 4
cmp esi, edi
jne 0x49fc75
lea ecx, [ebp + 4]
call fcn.0049fff0
mov edi, dword [esp + 0x480]
push 1
xor ebx, ebx
push ebx
push ebx
push edi
call dword [sym.imp.kernel32.dll_SetFilePointer]
push ebx
push ebx
push ebx
mov dword [esp + 0x1c], eax
call fcn.00419aa0
lea ecx, [esp + 0x24]
push ecx
mov esi, 4
push esi
lea edx, [esp + 0x38]
push edx
push edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], ebx
call fcn.00419b60
add esp, 0x1c
test al, al
jne 0x49fce7
push 0x530474
mov dword [esp + 0x18], 0x2a9
push ebx
jmp 0x49ffc1
cmp dword [esp + 0x24], 0x4b4c5948
je 0x49fd09
push 0x530474
push ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], 0x2b0
push ecx
jmp 0x49ffc6
lea edx, [esp + 0x18]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push edi
mov dword [esp + 0x2c], ebx
call fcn.00419b60
add esp, 0x10
test al, al
jne 0x49fd3d
push 0x530474
push ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], 0x2ba
push ecx
jmp 0x49ffc6
lea edx, [esp + 0x18]
push edx
push 2
lea eax, [esp + 0x28]
push eax
push edi
call fcn.00419b60
add esp, 0x10
test al, al
jne 0x49fd6e
push 0x530474
push ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], 0x2c2
push ecx
jmp 0x49ffc6
cmp word [esp + 0x18], bx
je 0x49fd8d
push 0x530474
push ebx
lea edx, [esp + 0x18]
mov dword [esp + 0x1c], 0x2c9
push edx
jmp 0x49ffc6
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0x28], ebx
jbe 0x49fecd
lea ecx, [esp + 0x28]
lea edx, [esp + 0x2c]
mov eax, 2
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], edx
lea ecx, [esp + 0x2e]
lea edx, [esp + 0x30]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], eax
lea eax, [esp + 0x34]
lea ecx, [esp + 0x38]
lea edx, [esp + 0x3c]
mov dword [esp + 0x48], esi
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], esi
push 0
push 0
push 0
call fcn.00419aa0
add esp, 0xc
xor esi, esi
mov dword [esp + 0x18], eax
mov ecx, dword [esp + esi*8 + 0x48]
mov edx, dword [esp + esi*8 + 0x44]
lea eax, [esp + 0x18]
push eax
push ecx
push edx
push edi
call fcn.00419b60
add esp, 0x10
test al, al
je 0x49ff10
inc esi
cmp esi, 7
jb 0x49fe24
mov eax, dword [esp + 0x3c]
cmp eax, 0x400
ja 0x49ff29
lea ecx, [esp + 0x18]
push ecx
push eax
lea edx, [esp + 0x84]
push edx
push edi
call fcn.00419b60
add esp, 0x10
test al, al
je 0x49ff42
lea ecx, [esp + 0x18]
push ecx
push 2
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x88]
push edi
mov dword [esp + 0x50], eax
call fcn.00419b60
add esp, 0x10
test al, al
je 0x49ff4c
cmp word [esp + 0x18], 0
jne 0x49ff7f
lea eax, [esp + 0x28]
push eax
mov ecx, ebp
call fcn.0049fbd0
test al, al
je 0x49ffb2
mov eax, dword [esp + 0x1c]
inc ebx
cmp ebx, eax
jb 0x49fe10
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
cmp eax, ecx
je 0x49fee3
mov edx, dword [eax + 8]
mov byte [edx + 0x1c], 1
mov eax, dword [eax]
cmp eax, ecx
jne 0x49fed6
mov esi, dword [esp + 0x484]
test esi, esi
je 0x49ff01
push 1
push 0
push 0
push edi
call dword [sym.imp.kernel32.dll_SetFilePointer]
sub eax, dword [esp + 0x10]
mov dword [esi], eax
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x46c
ret 8
push 0x530474
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], 0x2e4
push ecx
jmp 0x49ffc6
push 0x530474
push 0
lea edx, [esp + 0x18]
mov dword [esp + 0x1c], 0x2ee
push edx
jmp 0x49ffc6
mov dword [esp + 0x14], 0x2f4
jmp 0x49ffba
push 0x530474
lea ecx, [esp + 0x14]
push 0
push ecx
mov dword [esp + 0x1c], 0x53d3b0
mov dword [esp + 0x20], 0x2fe
call fcn.0041ce50
add esp, 0xc
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x46c
ret 8
push 0x530474
lea edx, [esp + 0x14]
push 0
push edx
mov dword [esp + 0x1c], 0x53d3b0
mov dword [esp + 0x20], 0x304
call fcn.0041ce50
add esp, 0xc
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x46c
ret 8
mov dword [esp + 0x14], 0x30d
push 0x530474
push 0
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], 0x53d3b0
call fcn.0041ce50
add esp, 0xc
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x46c
ret 8