Function at 0x4d0948
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe54
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [0x542920]
xor eax, eax
push ebp
push 0x4f14f0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp byte [eax + 0x6a], 0
je 0x4d0c95
mov eax, dword [edi]
mov eax, dword [eax + 0x454]
call fcn.00402724
mov dword [ebp - 0x14], eax
mov eax, dword [edi]
cmp dword [eax + 0x458], 0
jbe 0x4d0a82
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [edi]
mov eax, dword [eax + 4]
call fcn.00404aac
push eax
call fcn.0045eeec
push 0
push 0
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x98]
mov ecx, 0x40
call fcn.0045ede4
lea eax, [ebp - 0x28]
push eax
push 0
push 0x80
push 1
push 1
push 0x60
push 0
push 0
lea ecx, [ebp - 0x98]
lea eax, [ebp - 0x20]
mov edx, 0x80100080
call fcn.0046056c
test eax, eax
jne 0x4d0a79
mov eax, dword [edi]
mov eax, dword [eax + 0x450]
xor edx, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov eax, dword [edi]
mov eax, dword [eax + 0x458]
call fcn.00402724
mov ebx, eax
push 0
lea eax, [ebp - 0x28]
push eax
push ebx
mov eax, dword [edi]
mov eax, dword [eax + 0x458]
push eax
lea eax, [ebp - 0x30]
push eax
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x20]
call fcn.00460514
test eax, eax
jne 0x4d0a6a
mov eax, dword [edi]
add eax, 0x41c
push eax
mov eax, dword [edi]
mov ecx, dword [eax + 0x458]
mov edx, ebx
mov eax, ebx
call fcn.004bf76c
mov edx, dword [ebp - 0x14]
mov eax, ebx
call fcn.004ce6ec
mov eax, ebx
call fcn.00402744
mov eax, dword [ebp - 0x20]
call fcn.00460490
lea eax, [ebp - 0x1c]
push eax
call fcn.0045eefc
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax + 0x3c]
add ebx, dword [ebp - 0x14]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov eax, dword [ebx + 0x50]
xor edx, edx
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], edx
push 5
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x190], edx
lea eax, [ebp - 0x38]
xor edx, edx
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x188], edx
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x180], 0
lea eax, [ebp - 0x80]
xor edx, edx
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x178], edx
mov dword [ebp - 0x174], 0x1000
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 0x40
mov dword [ebp - 0x168], 0
lea eax, [ebp - 0x194]
push eax
mov eax, dword [ebp - 4]
call fcn.004d072c
push edx
push eax
call fcn.004cfd94
add esp, 0x10
mov eax, dword [ebx + 0x50]
call fcn.00402724
mov dword [ebp - 0x3c], eax
mov edx, dword [ebx + 0x50]
mov eax, dword [ebp - 0x3c]
call fcn.00407904
mov ecx, dword [ebx + 0x54]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x3c]
call fcn.004078fc
movzx esi, word [ebx + 6]
dec esi
test esi, esi
jl 0x4d0ba7
inc esi
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*4]
cmp dword [ebx + eax*8 + 0x11c], 0
jbe 0x4d0ba1
mov edx, dword [ebx + eax*8 + 0x118]
push edx
mov edx, dword [ebp - 0xc]
lea edx, [edx + edx*4]
mov edx, dword [ebx + edx*8 + 0x11c]
add edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebx + eax*8 + 0x114]
add eax, dword [ebp - 0x3c]
pop edx
pop ecx
call fcn.004078fc
inc dword [ebp - 0xc]
dec esi
jne 0x4d0b67
mov eax, dword [ebp - 0x14]
call fcn.00402744
mov ecx, dword [ebp - 0x3c]
mov eax, ecx
mov ebx, dword [eax + 0x3c]
add ebx, ecx
cmp dword [ebx + 0xb0], 0
je 0x4d0bed
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
push edx
push eax
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x34]
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
mov edx, dword [ebx + 0xb0]
add edx, ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004d079c
xor eax, eax
mov dword [ebp - 0x54], eax
cmp dword [ebx + 0x88], 0
je 0x4d0c10
mov ecx, 0x4f1500
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x3c]
call fcn.004d0848
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebx + 0x50]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x3c]
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x38]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax]
push eax
mov eax, dword [edi]
call dword [eax + 0x438]
push 2
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 0x1ac], eax
mov dword [ebp - 0x1a8], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebx + 0x50]
xor edx, edx
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x198], edx
lea eax, [ebp - 0x1ac]
push eax
mov eax, dword [ebp - 4]
call fcn.004d0650
push edx
push eax
call fcn.004cfd94
add esp, 0x10
mov eax, dword [ebp - 0x3c]
call fcn.00402744
jmp 0x4d0ec0
mov eax, dword [edi]
mov eax, dword [eax + 0x448]
call fcn.00402724
mov dword [ebp - 0x14], eax
mov eax, dword [edi]
cmp dword [eax + 0x44c], 0
jbe 0x4d0d8f
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [edi]
mov eax, dword [eax + 4]
call fcn.00404aac
push eax
call fcn.0045eeec
push 0
push 0
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x98]
mov ecx, 0x40
call fcn.0045ede4
lea eax, [ebp - 0x28]
push eax
push 0
push 0x80
push 1
push 1
push 0x60
push 0
push 0
lea ecx, [ebp - 0x98]
lea eax, [ebp - 0x20]
mov edx, 0x80100080
call fcn.0046056c
test eax, eax
jne 0x4d0d86
mov eax, dword [edi]
mov eax, dword [eax + 0x444]
xor edx, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov eax, dword [edi]
mov eax, dword [eax + 0x44c]
call fcn.00402724
mov ebx, eax
push 0
lea eax, [ebp - 0x28]
push eax
push ebx
mov eax, dword [edi]
mov eax, dword [eax + 0x44c]
push eax
lea eax, [ebp - 0x30]
push eax
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x20]
call fcn.00460514
test eax, eax
jne 0x4d0d77
mov eax, dword [edi]
add eax, 0x41c
push eax
mov eax, dword [edi]
mov ecx, dword [eax + 0x44c]
mov edx, ebx
mov eax, ebx
call fcn.004bf76c
mov edx, dword [ebp - 0x14]
mov eax, ebx
call fcn.004ce6ec
mov eax, ebx
call fcn.00402744
mov eax, dword [ebp - 0x20]
call fcn.00460490
lea eax, [ebp - 0x1c]
push eax
call fcn.0045eefc
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax + 0x3c]
add ebx, dword [ebp - 0x14]
push 0x40
push 0x1000
mov eax, dword [ebx + 0x50]
push eax
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax]
push eax
call fcn.00406f58
xor edx, edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov eax, dword [ebx + 0x50]
call fcn.00402724
mov dword [ebp - 0x3c], eax
mov edx, dword [ebx + 0x50]
mov eax, dword [ebp - 0x3c]
call fcn.00407904
mov ecx, dword [ebx + 0x54]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x3c]
call fcn.004078fc
movzx esi, word [ebx + 6]
dec esi
test esi, esi
jl 0x4d0e2f
inc esi
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*4]
cmp dword [ebx + eax*8 + 0x10c], 0
jbe 0x4d0e29
mov edx, dword [ebx + eax*8 + 0x108]
push edx
mov edx, dword [ebp - 0xc]
lea edx, [edx + edx*4]
mov edx, dword [ebx + edx*8 + 0x10c]
add edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebx + eax*8 + 0x104]
add eax, dword [ebp - 0x3c]
pop edx
pop ecx
call fcn.004078fc
inc dword [ebp - 0xc]
dec esi
jne 0x4d0def
mov eax, dword [ebp - 0x14]
call fcn.00402744
mov ecx, dword [ebp - 0x3c]
mov eax, ecx
mov ebx, dword [eax + 0x3c]
add ebx, ecx
cmp dword [ebx + 0xa0], 0
je 0x4d0e66
mov eax, dword [ebp - 0x38]
sub eax, dword [ebx + 0x34]
xor edx, edx
push edx
push eax
mov edx, dword [ebx + 0xa0]
add edx, ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004d079c
xor eax, eax
mov dword [ebp - 0x54], eax
cmp dword [ebx + 0x78], 0
je 0x4d0e86
mov ecx, 0x4f1500
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x3c]
call fcn.004d0848
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebx + 0x50]
push eax
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax]
push eax
call fcn.00406fc0
mov eax, dword [ebx + 0x50]
push eax
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax]
push eax
call fcn.00406b30
mov eax, dword [ebp - 0x3c]
call fcn.00402744
lea edx, [ebp - 0x68]
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
call fcn.00449c80
lea edx, [ebp - 0x6c]
mov eax, dword [edi]
mov eax, dword [eax + 0x14]
call fcn.00449c80
lea edx, [ebp - 0x70]
mov eax, dword [edi]
mov eax, dword [eax + 0x18]
call fcn.00449c80
mov eax, dword [edi]
mov eax, dword [eax + 4]
call fcn.00404abc
mov ebx, eax
add ebx, ebx
add ebx, 0x500
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax + 8]
call fcn.00404abc
add eax, eax
add ebx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
call fcn.00404abc
add eax, eax
add ebx, eax
mov eax, dword [edi]
mov eax, dword [eax + 0x4c0]
call fcn.00404abc
add eax, eax
add ebx, eax
mov eax, dword [ebp - 0x68]
call fcn.00404418
add ebx, eax
mov eax, dword [ebp - 0x6c]
call fcn.00404418
add ebx, eax
mov eax, dword [ebp - 0x70]
call fcn.00404418
add ebx, eax
mov dword [ebp - 0xc], ebx
mov eax, dword [edi]
mov eax, dword [eax + 0x4dc]
call fcn.004056c4
mov esi, eax
test esi, esi
jl 0x4d0f8b
inc esi
mov dword [ebp - 0x10], 0
mov eax, dword [edi]
mov eax, dword [eax + 0x4dc]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4]
call fcn.00404abc
add eax, eax
add eax, 2
add dword [ebp - 0xc], eax
inc dword [ebp - 0x10]
dec esi
jne 0x4d0f6a
mov eax, dword [ebp - 0xc]
call fcn.00402724
mov ebx, eax
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00407904
mov eax, dword [ebp - 0xc]
mov dword [ebx], eax
mov eax, dword [ebp - 0x38]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [eax + 0x28]
mov dword [ebx + 0x38], edx
mov edx, dword [eax + 0x2c]
mov dword [ebx + 0x3c], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov al, byte [eax + 0x69]
mov byte [ebx + 0x50], al
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [eax + 0x34]
mov dword [ebx + 0x40], edx
mov edx, dword [eax + 0x38]
mov dword [ebx + 0x44], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [eax + 0x3c]
mov dword [ebx + 0x48], edx
mov edx, dword [eax + 0x40]
mov dword [ebx + 0x4c], edx
mov eax, dword [edi]
mov eax, dword [eax + 4]
call fcn.00404abc
add eax, eax
mov dword [ebx + 0x1c], eax
mov eax, 0x500
mov dword [ebx + 0x20], eax
mov edx, dword [edi]
mov edx, dword [edx + 4]
mov esi, ebx
mov ecx, esi
add ecx, eax
mov eax, ecx
mov ecx, dword [ebx + 0x1c]
call fcn.004078fc
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax + 8]
call fcn.00404abc
add eax, eax
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0x1c]
add eax, dword [ebx + 0x20]
mov dword [ebx + 0x28], eax
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov edx, dword [edx + 8]
mov ecx, esi
add ecx, eax
mov eax, ecx
mov ecx, dword [ebx + 0x24]
call fcn.004078fc
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov al, byte [eax + 0xc]
mov byte [ebx + 0x2c], al
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
call fcn.00404abc
add eax, eax
mov dword [ebx + 0x30], eax
mov eax, dword [ebx + 0x24]
add eax, dword [ebx + 0x28]
mov dword [ebx + 0x34], eax
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
mov ecx, esi
add ecx, eax
mov eax, ecx
mov ecx, dword [ebx + 0x30]
call fcn.004078fc
mov eax, dword [edi]
mov eax, dword [eax + 0x4c0]
call fcn.00404abc
add eax, eax
mov dword [ebx + 0xbc], eax
mov eax, dword [ebx + 0x30]
add eax, dword [ebx + 0x34]
mov dword [ebx + 0xc0], eax
mov edx, dword [edi]
mov edx, dword [edx + 0x4c0]
add esi, eax
mov eax, esi
mov ecx, dword [ebx + 0xbc]
call fcn.004078fc
xor eax, eax
mov dword [ebx + 0xcc], eax
mov eax, dword [ebx + 0xbc]
add eax, dword [ebx + 0xc0]
mov dword [ebx + 0xd0], eax
mov edx, ebx
add edx, eax
mov dword [ebp - 0x64], edx
mov eax, dword [edi]
mov eax, dword [eax + 0x4dc]
call fcn.004056c4
mov esi, eax
test esi, esi
jl 0x4d116e
inc esi
mov dword [ebp - 0x10], 0
mov eax, dword [edi]
mov eax, dword [eax + 0x4dc]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4]
call fcn.00404abc
mov edx, dword [ebp - 0x64]
mov word [edx], ax
add dword [ebp - 0x64], 2
mov eax, dword [edi]
mov eax, dword [eax + 0x4dc]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4]
call fcn.00404abc
mov ecx, eax
add ecx, ecx
mov eax, dword [edi]
mov eax, dword [eax + 0x4dc]
mov edx, dword [ebp - 0x10]
mov edx, dword [eax + edx*4]
mov eax, dword [ebp - 0x64]
call fcn.004078fc
mov eax, dword [edi]
mov eax, dword [eax + 0x4dc]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4]
call fcn.00404abc
add eax, eax
add dword [ebp - 0x64], eax
inc dword [ebp - 0x10]
dec esi
jne 0x4d1106
mov eax, ebx
add eax, dword [ebx + 0xd0]
push eax
mov eax, dword [ebp - 0x64]
pop edx
sub eax, edx
mov dword [ebx + 0xcc], eax
mov edx, dword [ebx + 0xd0]
add edx, eax
mov dword [ebx + 0x4e8], edx
mov eax, dword [ebp - 0x68]
call fcn.00404418
mov dword [ebx + 0x4e4], eax
mov esi, ebx
mov eax, esi
add eax, dword [ebx + 0x4e8]
mov ecx, dword [ebx + 0x4e4]
mov edx, dword [ebp - 0x68]
call fcn.004078fc
mov eax, dword [ebx + 0x4e8]
add eax, dword [ebx + 0x4e4]
mov dword [ebx + 0x4f0], eax
mov eax, dword [ebp - 0x6c]
call fcn.00404418
mov dword [ebx + 0x4ec], eax
mov eax, esi
add eax, dword [ebx + 0x4f0]
mov ecx, dword [ebx + 0x4ec]
mov edx, dword [ebp - 0x6c]
call fcn.004078fc
mov eax, dword [ebx + 0x4f0]
add eax, dword [ebx + 0x4ec]
mov dword [ebx + 0x4f8], eax
mov eax, dword [ebp - 0x70]
call fcn.00404418
mov dword [ebx + 0x4f4], eax
mov eax, esi
add eax, dword [ebx + 0x4f8]
mov ecx, dword [ebx + 0x4f4]
mov edx, dword [ebp - 0x70]
call fcn.004078fc
mov eax, dword [edi]
mov eax, dword [eax + 0x43c]
mov dword [ebx + 0x54], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x440]
mov dword [ebx + 0x58], eax
mov eax, dword [edi]
push edi
lea esi, [eax + 0x1c]
lea edi, [ebx + 0xd4]
mov ecx, pe_nt_image_headers32
rep movsd dword es:[edi], dword [esi]
pop edi
xor eax, eax
mov edx, dword [edi]
mov edx, dword [edx + eax*4 + 0x41c]
mov dword [ebx + eax*4 + 0x4d4], edx
inc eax
cmp eax, 4
jne 0x4d124f
mov eax, dword [edi]
mov eax, dword [eax + 0x444]
mov dword [ebx + 0x5c], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x448]
mov dword [ebx + 0x60], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x44c]
mov dword [ebx + 0x64], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x450]
mov dword [ebx + 0x68], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x454]
mov dword [ebx + 0x6c], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x458]
mov dword [ebx + 0x70], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x478]
mov dword [ebx + 0x74], eax
mov eax, dword [edi]
mov al, byte [eax + 0x47d]
mov byte [ebx + 0x78], al
mov eax, dword [edi]
mov al, byte [eax + 0x47e]
mov byte [ebx + 0x79], al
mov eax, dword [edi]
mov edx, dword [eax + 0x480]
mov dword [ebx + 0x80], edx
mov edx, dword [eax + 0x484]
mov dword [ebx + 0x84], edx
mov eax, dword [edi]
mov al, byte [eax + 0x489]
mov byte [ebx + 0x89], al
mov eax, dword [edi]
mov al, byte [eax + 0x488]
mov byte [ebx + 0x88], al
mov eax, dword [edi]
mov al, byte [eax + 0x48a]
mov byte [ebx + 0x8a], al
mov eax, dword [edi]
mov al, byte [eax + 0x48b]
mov byte [ebx + 0x8b], al
mov eax, dword [edi]
lea edx, [eax + 0x48c]
lea eax, [ebx + 0x8c]
mov ecx, 0x28
call fcn.004078fc
mov eax, dword [edi]
mov al, byte [eax + 0x4b4]
mov byte [ebx + 0xb6], al
mov eax, dword [edi]
mov al, byte [eax + 0x4b8]
mov byte [ebx + 0xb8], al
mov eax, dword [edi]
mov al, byte [eax + 0x4c4]
mov byte [ebx + 0xc4], al
mov eax, dword [edi]
mov al, byte [eax + 0x4c5]
mov byte [ebx + 0xc5], al
mov eax, dword [edi]
mov eax, dword [eax + 0x4dc]
call fcn.004056bc
mov dword [ebx + 0xc8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp byte [eax + 0x6a], 0
je 0x4d1455
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov eax, dword [ebx]
xor edx, edx
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], edx
push 5
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x190], edx
lea eax, [ebp - 0x60]
xor edx, edx
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x188], edx
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x180], 0
lea eax, [ebp - 0x80]
xor edx, edx
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x178], edx
mov dword [ebp - 0x174], 0x1000
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 4
mov dword [ebp - 0x168], 0
lea eax, [ebp - 0x194]
push eax
mov eax, dword [ebp - 4]
call fcn.004d072c
push edx
push eax
call fcn.004cfd94
add esp, 0x10
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebx]
xor edx, edx
push edx
push eax
push ebx
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax]
push eax
mov eax, dword [edi]
call dword [eax + 0x438]
jmp 0x4d148f
push 4
push 0x1000
mov eax, dword [ebx]
push eax
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax]
push eax
call fcn.00406f58
xor edx, edx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebx]
push eax
push ebx
mov eax, dword [ebp - 0x60]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax]
push eax
call fcn.00406fc0
mov eax, ebx
call fcn.00402744
mov eax, dword [ebp - 0x54]
xor edx, edx
add eax, dword [ebp - 0x38]
adc edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x60]
mov dword [eax + 0x20], edx
mov edx, dword [ebp - 0x5c]
mov dword [eax + 0x24], edx
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
call fcn.004d1510
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov dword [ecx + 0x60], eax
mov dword [ecx + 0x64], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f14f7
lea eax, [ebp - 0x70]
mov edx, 3
call fcn.0040416c
ret