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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x158
push esi
mov esi, ecx
mov dword [esp + 0x10], edx
push edi
push 0
mov dword [esp + 0x24], 0
mov eax, dword [esi + 0x74]
test eax, eax
push 0x18
cmovne ecx, eax
mov eax, dword [esi]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], eax
test eax, eax
je 0x4f2d25
mov ecx, eax
call fcn.00471a30
mov edi, eax
mov dword [esp + 0x24], edi
jmp 0x4f2d30
call fcn.00471370
mov edi, eax
mov dword [esp + 0x24], eax
add esp, 8
test edi, edi
je 0x4f3144
mov ecx, dword [esp + 0x24]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
push 0
movq qword [edi + 0x10], xmm0
mov eax, dword [ecx + 0x7c]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 0x7c], edi
push 0x1c
test eax, eax
je 0x4f2d6e
mov ecx, eax
call fcn.00471a30
mov edx, eax
mov dword [esp + 0x34], edx
jmp 0x4f2d79
call fcn.00471370
mov edx, eax
mov dword [esp + 0x34], eax
add esp, 8
test edx, edx
je 0x4f3141
mov ecx, dword [esp + 0x24]
xorps xmm0, xmm0
movups xmmword [edx], xmm0
push 0x94
movq qword [edx + 0x10], xmm0
mov dword [edx + 0x18], 0
mov dword [edi + 8], edx
mov ecx, dword [ecx + 8]
push 0
mov eax, dword [ecx + 0xe8]
mov dword [edx + 0x18], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 0xe8], edx
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0xc], eax
lea eax, [esp + 0x5c]
push eax
mov dword [edi + 0x10], 0xffffffff
mov dword [edi + 0x14], 0xffffffff
call fcn.0054f8e0
add esp, 0xc
lea eax, [esp + 0x114]
push 0x4c
push 0
push eax
call fcn.0054f8e0
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [ecx + 0x10c]
mov dword [esp + 0x108], eax
lea eax, [esp + 0x50]
mov dword [ecx + 0x10c], eax
mov dword [esp + 0x50], ecx
cmp byte [ecx + 0x57], 0
je 0x4f2e24
push str.out_of_memory
push eax
call fcn.00474c20
add esp, 8
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x50]
xorps xmm0, xmm0
movaps xmmword [esp + 0x30], xmm0
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc4], eax
mov eax, dword [edi]
mov dword [esp + 0x148], eax
movzx eax, byte [edi + 8]
mov edi, dword [esp + 0x58]
mov byte [esp + 0xe4], al
mov eax, dword [esi + 0x88]
mov dword [esp + 0xd8], eax
movzx eax, byte [esi + 0x19]
movaps xmmword [esp + 0x40], xmm0
mov byte [esp + 0x69], al
test edi, edi
jne 0x4f2e96
lea ecx, [esp + 0x50]
call fcn.00495c60
mov edi, eax
test edi, edi
je 0x4f30eb
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
test ecx, ecx
je 0x4f2f00
push ecx
push str.___TRIGGER__s
push dword [esp + 0x20]
call fcn.00473fa0
mov ecx, dword [edi]
add esp, 0xc
mov edx, eax
cmp byte [ecx + 0x57], 0
je 0x4f2ecc
push edx
mov edx, 0xfffffff9
call fcn.004969c0
add esp, 4
jmp 0x4f2efc
mov eax, dword [edi + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x70]
cmp byte [eax + ecx*4 - 0x13], 0
lea eax, [eax + ecx*4]
je 0x4f2ef1
push 0xfffffffffffffff9
push edx
lea edx, [eax - 0x14]
mov ecx, edi
call fcn.00496c10
add esp, 8
jmp 0x4f2efc
test edx, edx
je 0x4f2efc
mov dword [eax - 4], edx
mov byte [eax - 0x13], 0xf9
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0xc]
test edx, edx
je 0x4f2f76
mov ecx, dword [esp + 0x18]
push 0
push 0
call fcn.004ae5b0
mov ecx, eax
add esp, 8
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
cmp byte [eax + 0x57], 0
jne 0x4f2f65
mov edx, ecx
lea ecx, [esp + 0x30]
call fcn.004ac730
test eax, eax
jne 0x4f2f5d
mov eax, dword [esp + 0x88]
dec eax
push 0x10
push eax
push dword [esp + 0x30]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x94], eax
lea eax, [esp + 0x5c]
push eax
call fcn.004b5da0
add esp, 0x10
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
test ecx, ecx
je 0x4f2f72
mov edx, ecx
mov ecx, eax
call fcn.004ae2c0
mov eax, dword [esp + 0x14]
push dword [ebp + 0xc]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x54]
call fcn.004f2a00
mov edx, dword [esp + 0x24]
add esp, 4
test edx, edx
je 0x4f2fb3
mov ecx, dword [edi + 0xc]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4f2faa
push edx
mov edx, edi
call fcn.004966d0
add esp, 4
jmp 0x4f2fb3
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x74]
mov dword [ecx + edx*4], eax
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4f2fd2
push 0
push 0
push 0
mov edx, 0x46
mov ecx, edi
call fcn.00495eb0
add esp, 0xc
jmp 0x4f3005
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x46
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esi + 0x24], 0
jne 0x4f3022
mov eax, dword [esp + 0x54]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x74]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x5c]
mov dword [esi + 0xc], eax
jmp 0x4f3033
mov edx, dword [esp + 0x54]
test edx, edx
je 0x4f3033
mov ecx, dword [esp + 0x50]
call fcn.00471640
cmp dword [esi + 0x24], 0
jne 0x4f305f
mov edx, dword [esp + 0x24]
mov ecx, edi
mov esi, dword [edi + 0x70]
lea edx, [edx + 0x60]
call fcn.004967a0
mov ecx, dword [esp + 0x2c]
mov eax, dword [edi + 0x74]
mov dword [ecx + 4], eax
mov dword [edi + 0x70], 0
mov dword [ecx], esi
jmp 0x4f3063
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x7c]
mov edx, edi
mov esi, dword [esp + 0x1c]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x78]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0xdc]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0xe0]
mov dword [esi + 0x14], eax
mov eax, dword [edi]
mov ecx, eax
mov dword [esp + 0x20], eax
call fcn.00498f60
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
test ecx, ecx
je 0x4f30b2
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0x20]
jmp 0x4f30b9
mov ecx, dword [esp + 0x20]
mov dword [ecx + 4], eax
mov edx, dword [edi + 8]
test edx, edx
je 0x4f30c6
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
mov edx, edi
mov dword [edi + 0x14], 0x5606c3c8
mov dword [edi], 0
call fcn.00471640
lea ecx, [esp + 0x50]
call fcn.004e0f70
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x24], 0
jne 0x4f311b
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x50]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x74]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x5c]
mov dword [esi + 0xc], eax
mov esi, dword [esp + 0x1c]
call fcn.004e0f70
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x54]
test edx, edx
je 0x4f312c
mov ecx, dword [esp + 0x50]
call fcn.00471640
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x50]
call fcn.004e0f70
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [edi + 8], edx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret