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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x519008]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, ecx
mov dword [esp + 8], edx
push ebx
push esi
push edi
mov ebx, dword [eax + 0x74]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
test ebx, ebx
jne 0x47ab02
mov ebx, eax
mov dword [esp + 0x20], eax
mov edi, dword [eax]
mov dword [esp + 0x10], edi
mov dword [esp + 0x24], 0
push 0
push 0x18
test edi, edi
je 0x47ab27
mov ecx, edi
call fcn.004ece50
mov esi, eax
mov dword [esp + 0x30], esi
jmp 0x47ab32
call fcn.004ed420
mov esi, eax
mov dword [esp + 0x30], eax
add esp, 8
test esi, esi
je 0x47aeaa
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov eax, dword [ebx + 0x104]
mov dword [esi + 4], eax
mov dword [ebx + 0x104], esi
push 0
push 0x1c
test edi, edi
je 0x47ab70
mov ecx, edi
call fcn.004ece50
jmp 0x47ab75
call fcn.004ed420
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x47ab94
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [esi + 8], ebx
test ebx, ebx
je 0x47aeaa
mov edx, dword [esp + 0x20]
push 0
push 0x114
mov ecx, dword [edx + 8]
mov eax, dword [ecx + 0xd8]
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 0xd8], ebx
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0xffffffff
mov dword [esi + 0x14], 0xffffffff
test edi, edi
je 0x47abe3
mov ecx, edi
call fcn.004ece50
jmp 0x47abe8
call fcn.004ed420
mov edi, eax
add esp, 8
test edi, edi
je 0x47aeaa
push 0x70
lea eax, [edi + 4]
push 0
push eax
call fcn.00405490
add esp, 0xc
lea eax, [edi + 0x7c]
push 0x98
push 0
push eax
call fcn.00405490
mov edx, dword [esp + 0x20]
xor eax, eax
mov ecx, dword [esp + 0x1c]
add esp, 0xc
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 dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x2c], edi
mov dword [edi + 0x78], eax
mov eax, dword [esp + 0x20]
mov dword [edi], ecx
mov dword [edi + 0x74], eax
mov eax, dword [edx]
mov dword [edi + 0xf0], eax
movzx eax, byte [edx + 8]
mov edx, dword [esp + 0x1c]
mov byte [edi + 0x90], al
mov eax, dword [edx + 0x84]
mov dword [edi + 0x84], eax
movzx eax, byte [edx + 0x19]
mov edx, dword [edi + 8]
mov byte [edi + 0x19], al
mov dword [esp + 0xc], edx
test edx, edx
jne 0x47ac9e
mov ecx, edi
call fcn.004c8600
mov ecx, dword [esp + 0x10]
mov edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x47ae84
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
test eax, eax
je 0x47ad0d
push eax
push str.___TRIGGER__s
push ecx
call fcn.004eac00
mov edx, dword [esp + 0x18]
add esp, 0xc
mov dword [esp + 0x18], eax
mov ecx, dword [edx]
cmp byte [ecx + 0x51], 0
je 0x47acd7
push eax
mov edx, 0xfffffff9
call fcn.004c7440
add esp, 4
jmp 0x47ad0d
mov eax, dword [edx + 0x6c]
dec eax
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x68]
cmp byte [eax + ecx*4 + 1], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x18]
je 0x47ad02
push 0xfffffffffffffff9
mov edx, ecx
mov ecx, dword [esp + 0x10]
push eax
call fcn.004c71e0
add esp, 8
jmp 0x47ad0d
test eax, eax
je 0x47ad0d
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], 0xf9
mov edx, dword [esp + 0x14]
mov edx, dword [edx + 0xc]
test edx, edx
je 0x47ad74
mov ecx, dword [esp + 0x10]
push 0
push 0
call fcn.004af580
add esp, 8
mov dword [esp + 0x18], eax
mov edx, eax
lea ecx, [esp + 0x2c]
call fcn.004b1320
test eax, eax
mov eax, dword [esp + 0x10]
jne 0x47ad63
cmp byte [eax + 0x51], 0
jne 0x47ad63
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
push 0x10
push eax
push dword [esp + 0x20]
mov dword [esp + 0x30], eax
push edi
call fcn.004a8d60
mov eax, dword [esp + 0x20]
add esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x47ad74
mov edx, ecx
mov ecx, eax
call fcn.004afa70
mov edx, dword [esp + 0x14]
mov ecx, edi
push dword [ebp + 0xc]
mov edx, dword [edx + 0x1c]
call fcn.0047af30
mov eax, dword [esp + 0x28]
add esp, 4
test eax, eax
je 0x47ad9b
mov ecx, dword [esp + 0xc]
mov edx, eax
call fcn.004c7a60
mov ecx, dword [esp + 0xc]
mov edx, 0x45
call fcn.004c8250
mov edx, dword [esp + 0x1c]
mov ecx, dword [edi + 4]
cmp dword [edx + 0x24], 0
jne 0x47adc7
mov dword [edx + 4], ecx
mov eax, dword [edi + 0x24]
mov dword [edx + 0x24], eax
mov eax, dword [edi + 0xc]
mov dword [edx + 0xc], eax
jmp 0x47ae1a
mov eax, dword [edi]
mov dword [esp + 0x24], eax
test ecx, ecx
je 0x47ae1a
test eax, eax
je 0x47ae0d
cmp dword [eax + 0x1e8], 0
je 0x47ade9
mov edx, ecx
mov ecx, eax
call fcn.004ed280
jmp 0x47ae16
cmp ecx, dword [eax + 0x138]
jb 0x47ae0d
cmp ecx, dword [eax + 0x13c]
jae 0x47ae0d
mov eax, dword [eax + 0x134]
mov dword [ecx], eax
mov eax, dword [esp + 0x24]
mov dword [eax + 0x134], ecx
jmp 0x47ae1a
push ecx
call fcn.004ed2c0
add esp, 4
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x51], 0
jne 0x47ae56
cmp dword [edx + 0x24], 0
jne 0x47ae56
mov eax, dword [esp + 0xc]
mov ecx, eax
mov edx, dword [esp + 0x20]
add edx, 0x60
mov esi, dword [eax + 0x68]
call fcn.004c78d0
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x6c]
mov dword [ebx + 4], eax
mov dword [ecx + 0x68], 0
mov dword [ebx], esi
mov esi, dword [esp + 0x28]
mov eax, dword [edi + 0x2c]
mov ecx, dword [esp + 0xc]
mov dword [ebx + 8], eax
mov eax, dword [edi + 0x28]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [edi + 0x88]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x8c]
mov dword [esi + 0x14], eax
call fcn.004c4930
mov ecx, edi
call fcn.00488800
mov ecx, dword [esp + 0x10]
mov edx, edi
call fcn.004ed200
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x4c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret