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

Disassembly:
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
sub esp, 0xb4
push edi
mov edi, dword [esp + 0xc0]
push eax
push ecx
mov ecx, dword [esp + 0xdc]
lea eax, [esp + 0x6c]
push edx
mov edx, dword [esp + 0xdc]
push eax
mov eax, dword [esp + 0xd8]
push ecx
push edx
push edi
push eax
call fcn.00547180
add esp, 0x20
test eax, eax
je 0x4e9dd4
mov eax, 1
pop edi
add esp, 0xb4
ret
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x60], ecx
mov ecx, dword [edi + 8]
mov edi, dword [esp + 0xc8]
push ebx
mov ebx, dword [esp + 0x84]
push ebp
mov edi, dword [edi + 8]
mov ebp, dword [esp + 0x8c]
mov dword [esp + 0xc], edi
mov edi, edx
imul edi, ecx
push esi
mov esi, dword [esp + 0x84]
mov eax, dword [esp + 0x74]
sub ebx, esi
mov esi, dword [esp + 0x88]
mov dword [esp + 0x1c], ecx
sub ebp, esi
imul esi, dword [esp + 0x10]
lea ecx, [edi + eax*4]
mov edi, dword [esp + 0xcc]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
add ecx, dword [edi + 4]
mov edi, dword [esp + 0x84]
mov dword [esp + 0x40], ebx
lea esi, [esi + edi*4]
mov edi, dword [esp + 0xd4]
mov dword [esp + 0x18], ecx
add esi, dword [edi + 4]
cmp byte [esp + 0x70], 0
mov dword [esp + 0x14], esi
je 0x4ea361
mov edx, ebx
mov edi, ebx
sar edx, 3
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x7c]
and edi, 7
sub eax, edx
mov edx, dword [esp + 0x1c]
add eax, edi
mov dword [esp + 0x28], edi
lea eax, [edx + eax*4]
mov edx, edi
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x10]
sub edx, ebx
test ebp, ebp
lea edx, [eax + edx*4]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x38], edx
mov dword [esp + 0x1c], eax
jle 0x4ea536
mov ebx, dword [esp + 0xd8]
mov dword [esp + 0x30], ebp
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x60]
test eax, eax
mov dword [esp + 0x20], edx
jle 0x4ea23e
mov ebp, dword [esp + 0x1c]
add edx, 2
and ebp, 0xf
mov dword [esp + 0x10], edx
shl ebp, 4
add esi, 0xa
lea edi, [ecx + 9]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x20]
xor eax, eax
mov al, byte [edi - 6]
and ecx, 0xf
add ecx, ebp
xor edx, edx
shl eax, 8
mov dl, byte [ecx + ebx]
xor ecx, ecx
mov cl, byte [edx + eax + 0xa2ee04]
mov edx, dword [esp + 0x14]
mov eax, ecx
xor ecx, ecx
shl eax, 9
mov dword [esp + 0x2c], eax
mov al, byte [edx]
mov edx, dword [esp + 0x18]
and eax, 0xff
mov cl, byte [edx]
sub ecx, eax
mov eax, dword [esp + 0x2c]
mov dl, byte [ecx + eax + 0x60ef03]
mov ecx, dword [esp + 0x14]
add dl, byte [ecx]
mov byte [ecx], dl
mov cl, byte [esi - 9]
xor edx, edx
and ecx, 0xff
mov dl, byte [edi - 8]
sub edx, ecx
mov cl, byte [edx + eax + 0x60ef03]
mov dl, byte [esi - 9]
add cl, dl
xor edx, edx
mov byte [esi - 9], cl
mov cl, byte [esi - 8]
mov dl, byte [edi - 7]
and ecx, 0xff
sub edx, ecx
mov cl, byte [esi - 8]
mov al, byte [edx + eax + 0x60ef03]
xor edx, edx
add al, cl
mov ecx, dword [esp + 0x10]
dec ecx
mov byte [esi - 8], al
and ecx, 0xf
mov byte [esi - 7], 0
add ecx, ebp
lea eax, [edi - 5]
mov dl, byte [ecx + ebx]
lea ecx, [esi - 6]
push edx
push eax
call fcn.004ed8a0
mov ecx, dword [esp + 0x10]
xor eax, eax
mov al, byte [edi + 2]
and ecx, 0xf
add ecx, ebp
xor edx, edx
shl eax, 8
mov dl, byte [ecx + ebx]
xor ecx, ecx
mov cl, byte [edx + eax + 0xa2ee04]
xor edx, edx
mov dl, byte [edi - 1]
mov eax, ecx
mov cl, byte [esi - 2]
and ecx, 0xff
shl eax, 9
sub edx, ecx
mov cl, byte [edx + eax + 0x60ef03]
mov dl, byte [esi - 2]
add cl, dl
xor edx, edx
mov byte [esi - 2], cl
mov cl, byte [esi - 1]
mov dl, byte [edi]
and ecx, 0xff
sub edx, ecx
mov cl, byte [edx + eax + 0x60ef03]
mov dl, byte [esi - 1]
add cl, dl
xor edx, edx
mov byte [esi - 1], cl
mov cl, byte [esi]
mov dl, byte [edi + 1]
and ecx, 0xff
sub edx, ecx
mov cl, byte [esi]
mov al, byte [edx + eax + 0x60ef03]
mov byte [esi + 1], 0
add al, cl
mov ecx, dword [esp + 0x10]
inc ecx
mov byte [esi], al
and ecx, 0xf
xor eax, eax
mov al, byte [edi + 6]
add ecx, ebp
xor edx, edx
mov dl, byte [ecx + ebx]
xor ecx, ecx
shl eax, 8
mov cl, byte [edx + eax + 0xa2ee04]
xor edx, edx
mov dl, byte [edi + 3]
mov eax, ecx
mov cl, byte [esi + 2]
and ecx, 0xff
shl eax, 9
sub edx, ecx
mov cl, byte [edx + eax + 0x60ef03]
mov dl, byte [esi + 2]
add cl, dl
xor edx, edx
mov byte [esi + 2], cl
mov cl, byte [esi + 3]
mov dl, byte [edi + 4]
and ecx, 0xff
sub edx, ecx
mov cl, byte [edx + eax + 0x60ef03]
mov dl, byte [esi + 3]
add cl, dl
xor edx, edx
mov byte [esi + 3], cl
mov cl, byte [esi + 4]
mov dl, byte [edi + 5]
and ecx, 0xff
sub edx, ecx
mov cl, byte [esi + 4]
mov al, byte [edx + eax + 0x60ef03]
xor edx, edx
add al, cl
mov ecx, dword [esp + 0x10]
add ecx, 2
mov byte [esi + 4], al
and ecx, 0xf
mov byte [esi + 5], 0
add ecx, ebp
lea eax, [edi + 7]
mov dl, byte [ecx + ebx]
lea ecx, [esi + 6]
push edx
push eax
call fcn.004ed8a0
mov ecx, dword [esp + 0x10]
xor eax, eax
mov al, byte [edi + 0xe]
add ecx, 3
and ecx, 0xf
xor edx, edx
add ecx, ebp
shl eax, 8
mov dl, byte [ecx + ebx]
xor ecx, ecx
mov cl, byte [edx + eax + 0xa2ee04]
mov eax, ecx
mov cl, byte [esi + 0xa]
shl eax, 9
xor edx, edx
mov dl, byte [edi + 0xb]
and ecx, 0xff
sub edx, ecx
mov cl, byte [edx + eax + 0x60ef03]
mov dl, byte [esi + 0xa]
add cl, dl
xor edx, edx
mov byte [esi + 0xa], cl
mov cl, byte [esi + 0xb]
mov dl, byte [edi + 0xc]
and ecx, 0xff
sub edx, ecx
mov cl, byte [edx + eax + 0x60ef03]
mov dl, byte [esi + 0xb]
add cl, dl
xor edx, edx
mov byte [esi + 0xb], cl
mov cl, byte [esi + 0xc]
mov dl, byte [edi + 0xd]
and ecx, 0xff
sub edx, ecx
mov cl, byte [esi + 0xc]
mov al, byte [edx + eax + 0x60ef03]
mov byte [esi + 0xd], 0
add al, cl
mov ecx, dword [esp + 0x10]
add ecx, 4
mov byte [esi + 0xc], al
and ecx, 0xf
xor eax, eax
mov al, byte [edi + 0x12]
add ecx, ebp
xor edx, edx
mov dl, byte [ecx + ebx]
xor ecx, ecx
shl eax, 8
mov cl, byte [edx + eax + 0xa2ee04]
xor edx, edx
mov dl, byte [edi + 0xf]
mov eax, ecx
mov cl, byte [esi + 0xe]
and ecx, 0xff
shl eax, 9
sub edx, ecx
mov cl, byte [edx + eax + 0x60ef03]
mov dl, byte [esi + 0xe]
add cl, dl
xor edx, edx
mov byte [esi + 0xe], cl
mov cl, byte [esi + 0xf]
mov dl, byte [edi + 0x10]
and ecx, 0xff
sub edx, ecx
mov cl, byte [edx + eax + 0x60ef03]
mov dl, byte [esi + 0xf]
add cl, dl
xor edx, edx
mov byte [esi + 0xf], cl
mov cl, byte [esi + 0x10]
mov dl, byte [edi + 0x11]
and ecx, 0xff
sub edx, ecx
mov cl, byte [esi + 0x10]
mov al, byte [edx + eax + 0x60ef03]
xor edx, edx
add al, cl
mov ecx, dword [esp + 0x10]
add ecx, 5
mov byte [esi + 0x10], al
and ecx, 0xf
mov byte [esi + 0x11], 0
add ecx, ebp
lea eax, [edi + 0x13]
mov dl, byte [ecx + ebx]
lea ecx, [esi + 0x12]
push edx
push eax
call fcn.004ed8a0
mov edx, dword [esp + 0x14]
mov eax, 0x20
add edx, eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x18]
add esi, eax
add edx, eax
add edi, eax
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x20]
mov eax, 8
add edx, eax
add ecx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], edx
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], eax
jne 0x4e9eec
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
xor eax, eax
test edi, edi
mov dword [esp + 0x18], eax
jle 0x4ea328
mov edx, dword [esp + 0x1c]
mov edi, ecx
and edx, 0xf
mov ebp, ecx
shl edx, 4
inc esi
sub edi, dword [esp + 0x14]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x24], edi
jmp 0x4ea271
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x20]
add esi, 4
add eax, edi
mov edi, dword [esp + 0x24]
and eax, 0xf
add eax, edx
xor edx, edx
mov dl, byte [eax + ebx]
xor eax, eax
mov al, byte [esi + edi - 2]
mov edi, eax
xor eax, eax
shl edi, 8
mov al, byte [edx + edi + 0xa2ee04]
xor edx, edx
mov dl, byte [ebp]
mov edi, eax
mov al, byte [esi - 5]
mov ebp, eax
and ebp, 0xff
shl edi, 9
sub edx, ebp
mov ebp, dword [esp + 0x24]
mov dl, byte [edx + edi + 0x60ef03]
add dl, al
mov al, byte [esi - 4]
mov byte [esi - 5], dl
xor edx, edx
mov dl, byte [esi + ebp - 4]
and eax, 0xff
sub edx, eax
mov ebp, dword [esp + 0x10]
add ebp, 4
mov al, byte [edx + edi + 0x60ef03]
mov dl, byte [esi - 4]
add al, dl
xor edx, edx
mov byte [esi - 4], al
mov al, byte [esi - 3]
mov dl, byte [ebp - 2]
and eax, 0xff
sub edx, eax
mov dword [esp + 0x10], ebp
mov al, byte [edx + edi + 0x60ef03]
mov dl, byte [esi - 3]
mov edi, dword [esp + 0x28]
add al, dl
mov byte [esi - 3], al
mov eax, dword [esp + 0x18]
mov byte [esi - 2], 0
inc eax
cmp eax, edi
mov dword [esp + 0x18], eax
jl 0x4ea26d
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
mov edx, dword [esp + 0x1c]
add esi, eax
mov eax, dword [esp + 0x30]
add ecx, ebp
inc edx
dec eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x30], eax
jne 0x4e9ebd
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
add esp, 0xb4
ret
mov eax, dword [esp + 0xb0]
mov edi, dword [esp + 0xc0]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edi
shl eax, 2
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x1c]
imul eax, edi
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x44], eax
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0xa8]
mov dword [esp + 0x5c], edi
mov edi, dword [esp + 0xb8]
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0xac]
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0xbc]
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0xb4]
test ebp, ebp
mov dword [esp + 0x14], edx
jle 0x4ea536
add esi, 2
mov dword [esp + 0x34], ebp
mov dword [esp + 0x24], esi
jmp 0x4ea3e8
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x30]
add edi, dword [esp + 0x3c]
mov dword [esp + 0x30], edi
js 0x4ea407
mov ebp, dword [esp + 0x1c]
add ecx, ebp
mov ebp, dword [esp + 0x38]
inc edx
sub edi, ebp
mov dword [esp + 0x14], edx
mov dword [esp + 0x30], edi
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x60]
test ebx, ebx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x20], ebp
jle 0x4ea501
and edx, 0xf
mov eax, esi
shl edx, 4
mov dword [esp + 0x18], edx
mov dword [esp + 0x28], ebx
jmp 0x4ea435
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x5c]
add esi, ebx
mov dword [esp + 0x20], esi
js 0x4ea453
mov ebx, dword [esp + 0x48]
add ecx, 4
inc edi
sub esi, ebx
mov dword [esp + 0x20], esi
mov ebx, dword [esp + 0xd8]
mov esi, edi
and esi, 0xf
add eax, 4
add esi, edx
xor edx, edx
mov dl, byte [esi + ebx]
xor ebx, ebx
mov bl, byte [ecx + 3]
mov esi, edx
shl ebx, 8
xor edx, edx
mov dl, byte [esi + ebx + 0xa2ee04]
xor ebx, ebx
mov bl, byte [ecx]
mov esi, edx
mov dl, byte [eax - 6]
mov ebp, edx
and ebp, 0xff
shl esi, 9
sub ebx, ebp
mov bl, byte [ebx + esi + 0x60ef03]
add bl, dl
mov dl, byte [eax - 5]
mov byte [eax - 6], bl
xor ebx, ebx
mov bl, byte [ecx + 1]
mov ebp, edx
and ebp, 0xff
sub ebx, ebp
mov bl, byte [ebx + esi + 0x60ef03]
add bl, dl
mov dl, byte [eax - 4]
mov byte [eax - 5], bl
xor ebx, ebx
mov bl, byte [ecx + 2]
mov ebp, edx
and ebp, 0xff
sub ebx, ebp
mov ebp, dword [esp + 0x58]
add ecx, ebp
mov bl, byte [ebx + esi + 0x60ef03]
mov byte [eax - 3], 0
add bl, dl
mov edx, dword [esp + 0x28]
mov byte [eax - 4], bl
mov ebx, dword [esp + 0x50]
add edi, ebx
dec edx
mov dword [esp + 0x28], edx
jne 0x4ea431
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
add ecx, eax
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x34]
add edx, ebp
add esi, edi
dec ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x34], ecx
jne 0x4ea3e0
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
add esp, 0xb4
ret