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

Disassembly:
push ebp
push edi
push esi
push ebx
push eax
mov eax, 0x2128
call fcn.005d98a8
sub esp, eax
mov eax, dword [esp + 0x2128]
mov ebp, eax
mov dword [esp + 0x38], edx
mov dword [esp], 0x40
mov eax, dword [0x68bb7c]
call dword [eax + 0x14]
mov dword [esp + 0x9c], eax
mov ecx, 4
mov edi, eax
mov esi, dword [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
mov dword [eax + 0x10], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0x12
mov dword [eax + 0x14], 0
mov esi, dword [esp + 0x38]
mov esi, dword [esi + 8]
mov dword [esp + 0xd4], esi
lea edi, [esp + 0x1c4]
mov dword [esp + 8], edi
mov esi, dword [esp + 0x38]
mov dword [esp + 4], esi
mov dword [esp], ebp
call fcn.004bd6dc
test eax, eax
je 0x4c0314
mov edx, dword [esi + 8]
test edx, edx
jne 0x4c0314
mov ebx, dword [esp + 0x1d0]
xor esi, esi
test ebx, ebx
je 0x4c029b
mov dword [esp + 0x40], ebp
jmp 0x4c020d
test eax, eax
je 0x4c030d
add esi, edx
mov ebx, dword [ebx + 4]
test ebx, ebx
je 0x4c0293
mov edx, dword [ebx + 8]
test edx, edx
jg 0x4c01f8
mov edx, dword [ebx]
cmp edx, 0x618620
je 0x4c0226
cmp edx, 0x618660
jne 0x4c0202
mov edx, dword [ebx + 0xc]
mov ebp, dword [edx + 0x98]
test ebp, ebp
je 0x4c0202
mov ebp, dword [edx + 8]
mov ecx, dword [esp + 0x2118]
inc dword [ecx + ebp*4]
mov ebp, dword [edx + 8]
mov dword [esp + 0x44], ebp
shl ebp, 2
mov dword [esp + 0x3c], ebp
test byte [ecx + ebp], 1
je 0x4c025e
mov ecx, dword [esp + 0x211c]
mov dword [ecx + ebp], edx
mov ecx, dword [esp + 0x1cc]
cmp dword [esp + 0x44], ecx
jl 0x4c0202
cmp dword [ebx], 0x618620
je 0x4c169a
mov eax, dword [edx + 0x9c]
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x1cc], ebp
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x4c020d
mov ebp, dword [esp + 0x40]
test eax, eax
je 0x4c0314
mov eax, dword [esp + 0x9c]
mov dword [eax + 0x10], esi
mov dword [eax + 0x30], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x28], 0
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4c0300
mov eax, dword [eax + 4]
mov edx, dword [eax + 0xc]
mov ecx, dword [ebp + 0xa0]
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ebp + 0x10]
mov dword [edx + ecx*8 + 4], ebx
mov ecx, dword [ebp + 0x10]
mov edx, dword [edx + ecx*8]
test edx, edx
je 0x4c0300
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], ebp
call fcn.004bcd6c
mov dword [esp], edi
call fcn.004bd9c0
jmp 0x4c0f47
mov ebp, dword [esp + 0x40]
lea esi, [esi]
mov dword [esp], edi
call fcn.004bd9c0
lea esi, [esp + 0xf4]
mov dword [esp + 0x34], esi
mov ecx, 4
mov edi, esi
mov esi, dword [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0xf8]
mov dword [esp + 0xa8], 0xffffffff
xor ebx, ebx
mov dword [esp + 0xd0], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xb4], 1
mov dword [esp + 0xc0], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x98], 0
lea edi, [esp + 0x114]
mov dword [esp + 0x30], edi
mov dword [esp + 0x38], ebx
mov edx, dword [esp + 0xfc]
mov dword [esp + 0xe8], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x94], eax
mov ecx, edx
mov ebx, dword [esp + 0x9c]
jmp 0x4c0422
mov edx, ecx
test edx, edx
jle 0x4c0487
mov esi, dword [eax + 8]
cmp esi, edx
jg 0x4c13bb
mov ecx, edx
sub ecx, esi
mov eax, dword [eax + 4]
test eax, eax
jne 0x4c0420
mov dword [esp + 0xe8], ecx
mov eax, dword [esp + 0xf8]
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.004bcc70
test eax, eax
je 0x4c168a
inc dword [ebx + 0x14]
mov dword [esp + 0xfc], 0
mov dword [esp + 0xf8], eax
mov eax, dword [eax + 8]
mov edx, dword [esp + 0xe8]
mov ecx, edx
test edx, edx
jg 0x4c0426
mov dword [esp + 0x94], eax
mov dword [esp + 0xe8], ecx
test eax, eax
je 0x4c168a
lea esi, [esi]
mov edi, dword [esp + 0x38]
test edi, edi
je 0x4c04c5
mov esi, dword [esp + 0x98]
test esi, esi
je 0x4c04c5
mov ebx, dword [esp + 0x98]
mov ebx, dword [ebx + 0xc]
test ebx, ebx
je 0x4c12da
mov ebx, dword [esp + 0x94]
mov eax, dword [ebx]
mov edi, dword [eax + 0x18]
test edi, edi
je 0x4c11fc
mov esi, dword [esp + 0x88]
test esi, esi
je 0x4c13ce
lea esi, [esp + 0xec]
mov dword [esp + 8], esi
mov dword [esp + 4], ebp
lea edi, [esp + 0xf4]
mov dword [esp], edi
call fcn.004bd4d8
mov esi, eax
mov ecx, 0x54
xor eax, eax
mov edi, dword [esp + 0x30]
rep stosb byte es:[edi], al
mov eax, dword [ebp + 0x50]
mov dword [esp + 0x124], eax
mov eax, dword [ebp + 0x54]
mov dword [esp + 0x128], eax
mov eax, dword [ebp + 0x60]
mov dword [esp + 0x148], eax
mov eax, dword [ebp + 0x64]
mov dword [esp + 0x14c], eax
mov eax, dword [ebp + 0x68]
mov dword [esp + 0x150], eax
mov eax, dword [ebp + 0x70]
mov dword [esp + 0x154], eax
mov eax, dword [ebp + 0x74]
mov dword [esp + 0x158], eax
mov eax, dword [ebp + 0x78]
mov dword [esp + 0x164], eax
mov ebx, dword [esp + 0xec]
test ebx, ebx
jle 0x4c092a
mov dword [esp + 0x7c], 0xffffffff
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x6c], 0xffffffff
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x70], 0xffffffff
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x5c], 0xffffffff
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x84], 0xffffffff
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x90], 0xffffffff
mov dword [esp + 0x38], 0xffffffff
xor edi, edi
mov eax, ebp
mov ebp, esi
mov esi, eax
jmp 0x4c08eb
test eax, eax
je 0x4c064c
mov ecx, dword [ebx + 8]
cmp ecx, dword [esp + 0x38]
jle 0x4c064c
mov dword [esp + 0x114], eax
mov dword [esp + 0x38], ecx
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x4c0684
mov dword [esp], eax
mov eax, dword [0x68bb7c]
call dword [eax + 0x558]
cmp byte [eax], 0
je 0x4c0684
mov eax, dword [ebx + 8]
cmp eax, dword [esp + 0x90]
jle 0x4c0684
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x118], ecx
mov dword [esp + 0x90], eax
nop
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x4c06b1
mov eax, dword [ebx + 8]
cmp eax, dword [esp + 0x3c]
jle 0x4c06b1
mov edx, dword [esp + 0x114]
test edx, edx
je 0x4c0f5c
mov ecx, dword [ebx + 0x24]
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x4c06d2
mov ecx, dword [ebx + 8]
cmp ecx, dword [esp + 0x80]
jle 0x4c06d2
mov dword [esp + 0x120], eax
mov dword [esp + 0x80], ecx
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x4c06ed
mov ecx, dword [ebx + 8]
cmp ecx, dword [esp + 0x40]
jle 0x4c06ed
mov dword [esp + 0x124], eax
mov dword [esp + 0x40], ecx
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x4c0708
mov ecx, dword [ebx + 8]
cmp ecx, dword [esp + 0x44]
jle 0x4c0708
mov dword [esp + 0x128], eax
mov dword [esp + 0x44], ecx
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x4c0729
mov ecx, dword [ebx + 8]
cmp ecx, dword [esp + 0x84]
jle 0x4c0729
mov dword [esp + 0x12c], eax
mov dword [esp + 0x84], ecx
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x4c0747
mov eax, dword [ebx + 8]
cmp eax, dword [esp + 0x50]
jle 0x4c0747
mov ecx, dword [ebx + 0x3c]
mov dword [esp + 0x130], ecx
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x4c0765
mov eax, dword [ebx + 8]
cmp eax, dword [esp + 0x58]
jle 0x4c0765
mov ecx, dword [ebx + 0x44]
mov dword [esp + 0x134], ecx
mov dword [esp + 0x58], eax
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x4c0783
mov eax, dword [ebx + 8]
cmp eax, dword [esp + 0x5c]
jle 0x4c0783
mov ecx, dword [ebx + 0x4c]
mov dword [esp + 0x138], ecx
mov dword [esp + 0x5c], eax
mov eax, dword [ebx + 0x50]
test eax, eax
je 0x4c07a1
mov eax, dword [ebx + 8]
cmp eax, dword [esp + 0x54]
jle 0x4c07a1
mov ecx, dword [ebx + 0x54]
mov dword [esp + 0x13c], ecx
mov dword [esp + 0x54], eax
mov ecx, dword [ebx + 0x58]
test ecx, ecx
je 0x4c07bf
mov eax, dword [ebx + 8]
cmp eax, dword [esp + 0x70]
jle 0x4c07bf
mov ecx, dword [ebx + 0x5c]
mov dword [esp + 0x140], ecx
mov dword [esp + 0x70], eax
mov edx, dword [ebx + 0x60]
test edx, edx
je 0x4c07dd
mov eax, dword [ebx + 8]
cmp eax, dword [esp + 0x60]
jle 0x4c07dd
mov ecx, dword [ebx + 0x64]
mov dword [esp + 0x144], ecx
mov dword [esp + 0x60], eax
mov eax, dword [ebx + 0x68]
test eax, eax
je 0x4c07fb
mov eax, dword [ebx + 8]
cmp eax, dword [esp + 0x64]
jle 0x4c07fb
mov ecx, dword [ebx + 0x6c]
mov dword [esp + 0x148], ecx
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 0x70]
test eax, eax
je 0x4c0819
mov eax, dword [ebx + 8]
cmp eax, dword [esp + 0x68]
jle 0x4c0819
mov ecx, dword [ebx + 0x74]
mov dword [esp + 0x14c], ecx
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x4c0837
mov eax, dword [ebx + 8]
cmp eax, dword [esp + 0x6c]
jle 0x4c0837
mov ecx, dword [ebx + 0x7c]
mov dword [esp + 0x150], ecx
mov dword [esp + 0x6c], eax
mov eax, dword [ebx + 0x80]
test eax, eax
je 0x4c085b
mov eax, dword [ebx + 8]
cmp eax, dword [esp + 0x74]
jle 0x4c085b
mov ecx, dword [ebx + 0x84]
mov dword [esp + 0x154], ecx
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x88]
cmp eax, 2
je 0x4c087a
mov ecx, dword [ebx + 8]
cmp ecx, dword [esp + 0x78]
jle 0x4c087a
mov dword [esp + 0x158], eax
mov dword [esp + 0x78], ecx
mov eax, dword [ebx + 0x8c]
test eax, eax
je 0x4c089e
mov eax, dword [ebx + 8]
cmp eax, dword [esp + 0x48]
jle 0x4c089e
mov ecx, dword [ebx + 0x90]
mov dword [esp + 0x15c], ecx
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 0x98]
test eax, eax
je 0x4c08c2
mov eax, dword [ebx + 8]
cmp eax, dword [esp + 0x4c]
jle 0x4c08c2
mov ecx, dword [ebx + 0x9c]
mov dword [esp + 0x160], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 0x94]
cmp eax, 3
je 0x4c08e1
mov ecx, dword [ebx + 8]
cmp ecx, dword [esp + 0x7c]
jle 0x4c08e1
mov dword [esp + 0x164], eax
mov dword [esp + 0x7c], ecx
inc edi
cmp edi, dword [esp + 0xec]
jge 0x4c0924
mov ebx, dword [ebp + edi*4]
mov eax, dword [ebx + 0x14]
cmp ebx, dword [esi + 0xa4]
jne 0x4c0634
test byte [esi + 0x164], 4
jne 0x4c0634
mov eax, dword [esi + 0xac]
test eax, eax
jne 0x4c0638
inc edi
cmp edi, dword [esp + 0xec]
jl 0x4c08eb
nop
mov eax, esi
mov esi, ebp
mov ebp, eax
test esi, esi
je 0x4c0939
mov dword [esp], esi
mov eax, dword [0x68bb7c]
call dword [eax + 0x18]
mov eax, dword [ebp + 0xa0]
lea edx, [esp + 0xf0]
mov dword [esp + 8], edx
lea ecx, [esp + 0x114]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [eax + 0x30]
invalid