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

Disassembly:
sub esp, 0x15c
mov eax, dword [0x571134]
xor eax, esp
mov dword [esp + 0x158], eax
mov eax, dword [esp + 0x168]
push ebx
mov ebx, dword [esp + 0x164]
mov dword [esp + 0xc], eax
mov eax, ebx
push edi
mov edi, dword [esp + 0x16c]
mov ecx, dword [ebx + 0x80]
test ecx, ecx
mov dword [esp + 8], edi
cmovne eax, ecx
mov eax, dword [eax + 0x88]
test eax, eax
je 0x475465
mov edx, dword [esp + 0x174]
cmp dword [eax], edi
jne 0x47545e
cmp dword [eax + 0xc], edx
je 0x475823
mov eax, dword [eax + 4]
test eax, eax
jne 0x475451
push ebp
push esi
mov esi, dword [ebx]
test ecx, ecx
mov eax, ebx
mov dword [esp + 0x14], esi
cmovne eax, ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], eax
push 0
push 0x18
test esi, esi
je 0x475493
push esi
call fcn.0049db10
add esp, 0xc
jmp 0x47549b
call fcn.004b17f0
add esp, 8
mov ebp, eax
test ebp, ebp
je 0x475814
mov ecx, dword [esp + 0x1c]
xorps xmm0, xmm0
movups xmmword [ebp], xmm0
push 0
movq qword [ebp + 0x10], xmm0
mov eax, dword [ecx + 0x88]
mov dword [ebp + 4], eax
mov dword [ecx + 0x88], ebp
push 0x1c
test esi, esi
je 0x4754dd
push esi
call fcn.0049db10
mov esi, eax
add esp, 0xc
mov dword [esp + 0x20], esi
jmp 0x4754eb
call fcn.004b17f0
add esp, 8
mov dword [esp + 0x20], eax
mov esi, eax
test esi, esi
je 0x475811
mov ecx, dword [esp + 0x1c]
xorps xmm0, xmm0
push dword [esp + 0x14]
movups xmmword [esi], xmm0
movq qword [esi + 0x10], xmm0
mov dword [esi + 0x18], 0
mov dword [ebp + 8], esi
mov ecx, dword [ecx + 8]
mov eax, dword [ecx + 0xe0]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x180]
mov dword [ecx + 0xe0], esi
mov dword [ebp + 0xc], eax
lea eax, [esp + 0x50]
mov dword [ebp], edi
push eax
mov dword [ebp + 0x10], 0xffffffff
mov dword [ebp + 0x14], 0xffffffff
call fcn.004b4200
lea eax, [esp + 0x54]
xorps xmm0, xmm0
mov dword [esp + 0x30], eax
add esp, 8
mov eax, dword [esp + 0x18]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xcc], eax
mov eax, dword [edi]
mov dword [esp + 0x150], eax
movzx eax, byte [edi + 8]
mov edi, dword [esp + 0x54]
mov byte [esp + 0xea], al
mov ax, word [ebx + 0x9c]
mov word [esp + 0xe8], ax
movzx eax, byte [ebx + 0x19]
movlpd qword [esp + 0x2c], xmm0
movlpd qword [esp + 0x34], xmm0
movlpd qword [esp + 0x3c], xmm0
movlpd qword [esp + 0x44], xmm0
mov byte [esp + 0x65], al
test edi, edi
jne 0x4755cd
lea eax, [esp + 0x4c]
push eax
call fcn.004c7580
mov edi, eax
add esp, 4
test edi, edi
je 0x4757c7
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
test ecx, ecx
je 0x475635
push ecx
push str.___TRIGGER__s
push dword [esp + 0x1c]
call fcn.004b17d0
mov edx, eax
add esp, 0xc
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
je 0x475603
test edx, edx
je 0x475631
push edx
push eax
call fcn.0049dc30
add esp, 8
jmp 0x475631
mov eax, dword [edi + 0x6c]
dec eax
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x475626
push 0xfffffffffffffffa
push edx
push eax
push edi
call fcn.004e2d50
add esp, 0x10
jmp 0x475631
test edx, edx
je 0x475631
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xfa
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4756b0
push 0
push 0
push ecx
push dword [esp + 0x20]
call fcn.0046d670
mov ecx, eax
add esp, 0x10
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
cmp byte [eax + 0x57], 0
jne 0x47569e
push ecx
lea eax, [esp + 0x2c]
push eax
call fcn.004bb8f0
add esp, 8
test eax, eax
jne 0x475696
mov eax, dword [esp + 0x84]
dec eax
push 0x10
push eax
push dword [esp + 0x20]
mov dword [esp + 0x30], eax
mov dword [esp + 0x90], eax
lea eax, [esp + 0x58]
push eax
call fcn.004a4050
add esp, 0x10
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
test ecx, ecx
je 0x4756ac
push ecx
push eax
call fcn.004a3d70
add esp, 8
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x17c]
push edx
push dword [eax + 0x1c]
lea eax, [esp + 0x54]
push eax
call fcn.004662b0
mov edx, dword [esp + 0x30]
add esp, 0xc
test edx, edx
je 0x4756f3
mov ecx, dword [edi + 0xc]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4756ea
push edx
push edi
push ecx
call fcn.0048b850
add esp, 0xc
jmp 0x4756f3
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
push 0x46
push edi
call fcn.004c6ce0
mov eax, dword [esp + 0x58]
add esp, 8
cmp dword [ebx + 0x24], 0
jne 0x47571b
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x70]
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x58]
mov dword [ebx + 0xc], eax
jmp 0x47572c
test eax, eax
je 0x47572c
push eax
push dword [esp + 0x50]
call fcn.0049da00
add esp, 8
cmp dword [ebx + 0x24], 0
jne 0x47575b
mov eax, dword [esp + 0x1c]
mov esi, dword [edi + 0x68]
add eax, 0x68
push eax
push edi
call fcn.0048ce50
mov ecx, dword [esp + 0x28]
add esp, 8
mov eax, dword [edi + 0x6c]
mov dword [ecx + 4], eax
mov dword [edi + 0x68], 0
mov dword [ecx], esi
mov esi, ecx
mov eax, dword [esp + 0x78]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x74]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0xe0]
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 0xe4]
mov dword [ebp + 0x14], eax
mov esi, dword [edi]
push edi
push esi
call fcn.004c73a0
add esp, 8
cmp dword [esi + 0x210], 0
jne 0x4757ae
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
mov dword [ecx], eax
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x4757ae
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
push edi
push esi
call fcn.0049dc30
add esp, 8
lea eax, [esp + 0x4c]
push eax
call fcn.004b4260
add esp, 4
jmp 0x475816
cmp dword [ebx + 0x24], 0
mov eax, dword [esp + 0x50]
jne 0x4757f1
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x70]
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x58]
mov dword [ebx + 0xc], eax
lea eax, [esp + 0x4c]
push eax
call fcn.004b4260
add esp, 4
jmp 0x475816
test eax, eax
je 0x475802
push eax
push dword [esp + 0x50]
call fcn.0049da00
add esp, 8
lea eax, [esp + 0x4c]
push eax
call fcn.004b4260
add esp, 4
jmp 0x475816
mov dword [ebp + 8], esi
xor ebp, ebp
mov ecx, dword [ebx]
mov eax, ebp
pop esi
pop ebp
mov dword [ecx + 0x44], 0xffffffff
mov ecx, dword [esp + 0x160]
pop edi
pop ebx
xor ecx, esp
call fcn.004fb4f7
add esp, 0x15c
ret