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

Disassembly:
mov ecx, dword [0x6b21fc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov eax, esp
sub eax, 0x23b0
jb 0x4fc134
cmp eax, dword [ecx + 8]
jbe 0x4fc134
sub esp, 0x2430
lea edi, [esp + 0x2438]
mov ecx, 0x8e2
xor eax, eax
rep stosd dword es:[edi], eax
lea edi, [esp + 0xa8]
mov ecx, 0x8e2
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x2434]
lea esi, [edx + 8]
mov ebx, dword [edx]
mov ebp, dword [edx + 4]
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebp
movzx ebx, byte [edx + 0x102c]
mov byte [esp + 0x23d8], bl
lea edi, [esp + 0x23dc]
call fcn.00468eee
xor ecx, ecx
jmp 0x4fbaca
inc ecx
xor eax, eax
mov edx, dword [esp + 0x2434]
cmp ecx, 0x3e8
jge 0x4fbd9e
mov dword [esp + 0x38], ecx
mov eax, dword [edx + ecx*4 + 0x84]
mov dword [esp], eax
call fcn.004fa7e0
cmp dword [esp + 8], 2
jg 0x4fbd0e
mov eax, dword [esp + 0x2434]
mov dword [esp], eax
mov byte [esp + 0x10], 0
call fcn.004fa9d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
test eax, eax
jne 0x4fbc30
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x38]
mov dword [esp], ecx
call fcn.004f26c0
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x2434]
xor ebx, ebx
jmp 0x4fbdda
lea eax, [0x52bea0]
mov dword [esp], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
lea edx, [0x5d1fbc]
mov dword [esp + 8], edx
call fcn.0040d3f0
movzx eax, byte [esp + 0x10]
test al, al
je 0x4fbbb0
lea eax, [0x52bea0]
mov dword [esp], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
lea edx, [0x5d1fbc]
mov dword [esp + 8], edx
call fcn.0040d220
mov eax, dword [esp + 0xc]
movzx eax, byte [eax]
shl eax, 4
mov ecx, dword [esp + 0x38]
mov byte [esp + ecx + 0x1ff0], al
lea eax, [0x52bea0]
mov dword [esp], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
lea edx, [0x5d34ec]
mov dword [esp + 8], edx
call fcn.0040d3f0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4fbbe2
mov ecx, dword [esp + 0x38]
jmp 0x4fbac0
mov eax, dword [esp + 0x38]
movzx ecx, byte [esp + eax + 0x1ff0]
mov byte [esp + 0x28], cl
lea edx, [0x52bea0]
mov dword [esp], edx
mov ebx, dword [esp + 0x48]
mov dword [esp + 4], ebx
lea ebx, [0x5d34ec]
mov dword [esp + 8], ebx
call fcn.0040d220
mov eax, dword [esp + 0xc]
movzx eax, byte [eax]
movzx ecx, byte [esp + 0x28]
or eax, ecx
mov ecx, dword [esp + 0x38]
mov byte [esp + ecx + 0x1ff0], al
jmp 0x4fbac0
mov dword [esp + 0x44], edx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov ecx, dword [esp + 0x38]
mov dword [esp], ecx
call fcn.00409b00
mov eax, dword [esp + 4]
lea ecx, [0x52aa00]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4fbc97
mov eax, dword [eax + 4]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x8c], eax
lea eax, [0x552a39]
mov dword [esp], eax
mov dword [esp + 4], 0x2e
lea eax, [esp + 0x80]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004a1ec0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edi, [esp + 0x2438]
lea esi, [esp + 0xa8]
mov edx, ecx
mov ecx, 0x8e2
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x47c0], eax
mov dword [esp + 0x47c4], edx
add esp, 0x2430
ret
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.00409b00
mov eax, dword [esp + 4]
lea ecx, [0x52aa00]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
lea eax, [0x54eec6]
mov dword [esp], eax
mov dword [esp + 4], 0x20
lea eax, [esp + 0x58]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a1ec0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edi, [esp + 0x2438]
lea esi, [esp + 0xa8]
mov edx, ecx
mov ecx, 0x8e2
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x47c0], eax
mov dword [esp + 0x47c4], edx
add esp, 0x2430
ret
lea edi, [esp + 0x2438]
lea esi, [esp + 0xa8]
mov ecx, 0x8e2
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x47c0], 0
mov dword [esp + 0x47c4], 0
add esp, 0x2430
ret
xchg esi, eax
mov byte [esp + edi + 0xb0], al
xchg esi, eax
inc ebx
cmp ebx, 8
jge 0x4fbb52
mov dword [esp + 0x3c], ebx
xor ebp, ebp
xor esi, esi
jmp 0x4fbe17
mov ebp, dword [esp + 0x38]
lea edi, [ebx + ebp*8]
cmp edi, 0x1f40
jb 0x4fbdd0
jmp 0x4fc127
lea ebp, [edx + 1]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x2434]
mov ebx, dword [esp + 0x3c]
cmp ebp, 8
jge 0x4fbded
mov dword [esp + 0x34], ebp
xchg esi, eax
mov byte [esp + 0x27], al
xchg esi, eax
mov dword [esp], edx
lea esi, [ebp + eax]
mov dword [esp + 4], esi
lea esi, [ebx + ecx]
mov dword [esp + 8], esi
call fcn.004f2650
movzx eax, byte [esp + 0xc]
movzx ecx, byte [esp + 0xd]
movzx edx, byte [esp + 0xe]
mov byte [esp + 0x29], al
mov byte [esp + 0x2a], cl
mov byte [esp + 0x2b], dl
lea eax, [0x538380]
mov dword [esp], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
lea edx, [esp + 0x29]
mov dword [esp + 8], edx
call fcn.0040d3f0
movzx eax, byte [esp + 0x10]
test al, al
je 0x4fbea4
mov edx, dword [esp + 0xc]
movzx esi, byte [edx]
mov edx, dword [esp + 0x34]
lea ecx, [edx - 7]
neg ecx
shl esi, cl
cmp cl, 0x20
sbb ebx, ebx
and esi, ebx
movzx ebx, byte [esp + 0x27]
or esi, ebx
jmp 0x4fbe01
mov edx, dword [esp + 0x2434]
movzx ebx, byte [edx + 0x18]
test bl, bl
je 0x4fc119
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [0x53ae00]
mov dword [esp], eax
lea ecx, [esp + 0x29]
mov dword [esp + 4], ecx
call fcn.00409a30
mov eax, dword [esp + 8]
lea ecx, [0x53ae00]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.00409b00
mov eax, dword [esp + 4]
lea ecx, [0x52aa00]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
lea edi, [esp + 0x90]
xor eax, eax
call fcn.00468aaa
lea ecx, [0x4fc240]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x98], 0x1e
lea edx, [0x54e582]
mov dword [esp + 0x94], edx
mov dword [esp + 0xa0], 2
mov dword [esp + 0xa4], 2
lea ebx, [esp + 0x70]
mov dword [esp + 0x9c], ebx
mov ebx, dword [0x68b9c4]
mov dword [esp], ebx
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea ebx, [esp + 0x90]
mov dword [esp + 0xc], ebx
call fcn.004b1180
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00409b00
mov eax, dword [esp + 4]
lea ecx, [0x52aa00]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00409b00
mov eax, dword [esp + 4]
lea ecx, [0x52aa00]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea edi, [esp + 0x90]
xor eax, eax
call fcn.00468aaa
lea ecx, [0x4fc1c0]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x98], 0xd
lea edx, [0x547f75]
mov dword [esp + 0x94], edx
mov dword [esp + 0xa0], 2
mov dword [esp + 0xa4], 2
lea ebx, [esp + 0x60]
mov dword [esp + 0x9c], ebx
mov ebx, dword [0x68b9c4]
mov dword [esp], ebx
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea ebx, [esp + 0x90]
mov dword [esp + 0xc], ebx
call fcn.004b1180
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea eax, [0x538380]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x54], ecx
lea edi, [esp + 0x90]
xor eax, eax
call fcn.00468aaa
lea ecx, [0x4fc140]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x98], 0xf
lea edx, [0x548764]
mov dword [esp + 0x94], edx
mov dword [esp + 0xa0], 1
mov dword [esp + 0xa4], 1
lea ebx, [esp + 0x50]
mov dword [esp + 0x9c], ebx
mov ebx, dword [0x68b9c4]
mov dword [esp], ebx
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea ebx, [esp + 0x90]
mov dword [esp + 0xc], ebx
call fcn.004b1180
mov edx, dword [esp + 0x2434]
mov edx, dword [esp + 0x34]
movzx esi, byte [esp + 0x27]
jmp 0x4fbe01
mov eax, edi
mov ecx, 0x1f40
call fcn.004688d0
nop
call fcn.00467460
jmp fcn.004fba40