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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x609e44]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword [ecx + 0x74]
test eax, eax
push esi
mov esi, dword [ecx]
mov dword [esp + 0x14], edx
mov edx, ecx
push edi
cmovne edx, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1c], 0
push 0
push 0x18
test esi, esi
je 0x4d2891
mov ecx, esi
call fcn.004581b0
mov edi, eax
mov dword [esp + 0x30], edi
jmp 0x4d289c
call fcn.00457ba0
mov edi, eax
mov dword [esp + 0x30], eax
add esp, 8
test edi, edi
je 0x4d2d0e
mov ecx, dword [esp + 0x20]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
push 0
movq qword [edi + 0x10], xmm0
mov eax, dword [ecx + 0x108]
mov dword [edi + 4], eax
mov dword [ecx + 0x108], edi
push 0x1c
test esi, esi
je 0x4d28dc
mov ecx, esi
call fcn.004581b0
mov edx, eax
mov dword [esp + 0x2c], edx
jmp 0x4d28e7
call fcn.00457ba0
mov edx, eax
mov dword [esp + 0x2c], eax
add esp, 8
test edx, edx
je 0x4d2d0b
mov ecx, dword [esp + 0x20]
xorps xmm0, xmm0
movups xmmword [edx], xmm0
push 0
movq qword [edx + 0x10], xmm0
mov dword [edx + 0x18], 0
mov dword [edi + 8], edx
mov ecx, dword [ecx + 8]
push pe_nt_image_headers32
mov eax, dword [ecx + 0xd8]
mov dword [edx + 0x18], eax
mov eax, dword [esp + 0x20]
mov dword [ecx + 0xd8], edx
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0xffffffff
mov dword [edi + 0x14], 0xffffffff
test esi, esi
je 0x4d294b
mov ecx, esi
call fcn.004581b0
jmp 0x4d2950
call fcn.00457ba0
mov edi, eax
add esp, 8
test edi, edi
je 0x4d2d0e
push 0x70
lea eax, [edi + 4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [edi + 0x7c]
push 0x9c
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x24]
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
add esp, 0xc
movaps xmmword [esp + 0x30], xmm0
movaps xmmword [esp + 0x40], xmm0
mov dword [esp + 0x30], edi
mov dword [edi + 0x78], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 0x74], eax
mov dword [edi], esi
mov eax, dword [ecx]
mov dword [edi + 0xf4], eax
movzx eax, byte [ecx + 8]
mov ecx, dword [esp + 0x10]
mov byte [edi + 0x94], al
mov eax, dword [ecx + 0x88]
mov dword [edi + 0x88], eax
movzx eax, byte [ecx + 0x19]
mov byte [edi + 0x19], al
mov eax, dword [edi + 8]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x4d29eb
mov ecx, edi
call fcn.0047a090
mov dword [esp + 0xc], eax
test eax, eax
je 0x4d2c59
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x4d2a5a
push eax
push str.___TRIGGER__s
push esi
call fcn.0045aa50
mov edx, dword [esp + 0x18]
add esp, 0xc
mov dword [esp + 0x14], eax
mov ecx, dword [edx]
cmp byte [ecx + 0x51], 0
je 0x4d2a24
push eax
mov edx, 0xfffffff9
call fcn.0047af00
add esp, 4
jmp 0x4d2a5a
mov eax, dword [edx + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x68]
cmp byte [eax + ecx*4 - 0x13], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x14]
je 0x4d2a4f
push 0xfffffffffffffff9
lea edx, [ecx - 0x14]
mov ecx, dword [esp + 0x10]
push eax
call fcn.0047b0d0
add esp, 8
jmp 0x4d2a5a
test eax, eax
je 0x4d2a5a
mov dword [ecx - 4], eax
mov byte [ecx - 0x13], 0xf9
mov edx, dword [esp + 0x18]
mov edx, dword [edx + 0xc]
test edx, edx
je 0x4d2ab6
push 0
push 0
mov ecx, esi
call fcn.00492790
add esp, 8
mov dword [esp + 0x14], eax
mov edx, eax
lea ecx, [esp + 0x30]
call fcn.004911c0
test eax, eax
jne 0x4d2aa5
cmp byte [esi + 0x51], al
jne 0x4d2aa5
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
push 0x10
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x28], eax
push edi
call fcn.0049a0f0
add esp, 0x10
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4d2ab6
mov edx, eax
mov ecx, esi
call fcn.00492560
mov edx, dword [esp + 0x18]
mov ecx, edi
push dword [ebp + 0xc]
mov edx, dword [edx + 0x1c]
call fcn.004d2450
mov eax, dword [esp + 0x20]
add esp, 4
mov edx, dword [esp + 0xc]
test eax, eax
je 0x4d2b0a
mov ecx, dword [edx + 0xc]
not eax
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4d2af9
push dword [esp + 0x1c]
call fcn.0047aae0
mov edx, dword [esp + 0x10]
add esp, 4
jmp 0x4d2b0a
mov esi, dword [esp + 0x1c]
mov ecx, dword [ecx + 0x40]
mov eax, dword [edx + 0x6c]
mov dword [ecx + esi*4], eax
mov esi, dword [esp + 0x2c]
mov ecx, dword [edx + 0x6c]
cmp dword [edx + 0x70], ecx
jg 0x4d2b2b
mov ecx, dword [esp + 0xc]
mov edx, 0x44
push 0
push 0
push 0
call fcn.0047a300
add esp, 0xc
jmp 0x4d2b5e
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov dword [eax + ecx*4], 0x44
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
mov edx, dword [esp + 0x10]
mov ecx, dword [edi + 4]
cmp dword [edx + 0x24], 0
jne 0x4d2b7c
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 0x4d2be5
mov edx, dword [edi]
mov dword [esp + 0x14], edx
test ecx, ecx
je 0x4d2be1
test edx, edx
je 0x4d2bd8
cmp dword [edx + 0x1f8], 0
je 0x4d2ba0
mov edx, ecx
mov ecx, dword [esp + 0x14]
call fcn.00457e30
jmp 0x4d2be1
cmp ecx, dword [edx + 0x14c]
jae 0x4d2bd8
cmp ecx, dword [edx + 0x144]
jb 0x4d2bc0
mov eax, dword [edx + 0x140]
mov dword [ecx], eax
mov dword [edx + 0x140], ecx
jmp 0x4d2be1
cmp ecx, dword [edx + 0x148]
jb 0x4d2bd8
mov eax, dword [edx + 0x138]
mov dword [ecx], eax
mov dword [edx + 0x138], ecx
jmp 0x4d2be1
push ecx
call fcn.00457dc0
add esp, 4
mov edx, dword [esp + 0x10]
cmp byte [esi + 0x51], 0
jne 0x4d2c23
cmp dword [edx + 0x24], 0
jne 0x4d2c23
mov eax, dword [esp + 0xc]
mov ecx, eax
mov edx, dword [esp + 0x20]
mov esi, dword [eax + 0x68]
lea edx, [edx + 0x60]
call fcn.0047ab30
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x24]
mov eax, dword [ecx + 0x6c]
mov dword [edx + 4], eax
mov dword [ecx + 0x68], 0
mov dword [edx], esi
mov esi, dword [esp + 0x2c]
jmp 0x4d2c27
mov edx, dword [esp + 0x24]
mov eax, dword [edi + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [edx + 8], eax
mov eax, dword [edi + 0x28]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x18]
mov dword [edx + 0x14], eax
mov eax, dword [edi + 0x8c]
mov dword [ecx + 0x10], eax
mov eax, dword [edi + 0x90]
mov dword [ecx + 0x14], eax
mov ecx, dword [esp + 0xc]
call fcn.0047da60
mov ecx, edi
call fcn.004c2b70
test esi, esi
je 0x4d2ced
cmp dword [esi + 0x1f8], 0
je 0x4d2c8f
mov edx, edi
mov ecx, esi
call fcn.00457e30
mov eax, dword [esp + 0x28]
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.005a6fed
mov esp, ebp
pop ebp
ret
cmp edi, dword [esi + 0x14c]
jae 0x4d2ced
cmp edi, dword [esi + 0x144]
jb 0x4d2cc2
mov eax, dword [esi + 0x140]
mov dword [edi], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x140], edi
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.005a6fed
mov esp, ebp
pop ebp
ret
cmp edi, dword [esi + 0x148]
jb 0x4d2ced
mov eax, dword [esi + 0x138]
mov dword [edi], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x138], edi
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.005a6fed
mov esp, ebp
pop ebp
ret
push edi
call fcn.00457dc0
mov eax, dword [esp + 0x2c]
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.005a6fed
mov esp, ebp
pop ebp
ret
mov dword [edi + 8], edx
mov ecx, dword [esp + 0x5c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.005a6fed
mov esp, ebp
pop ebp
ret