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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x158
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x18]
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], ecx
mov eax, dword [ebp + 8]
mov dword [esp + 0x13c], eax
mov cx, word [eax + 0x3e]
rol cx, 8
mov word [esp + 0x13a], cx
mov dword [esp + 0x134], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x120], 0
mov cx, word [eax + 0x10]
rol cx, 8
movzx eax, cx
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0xf8], eax
mov eax, esp
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xf8]
mov dword [eax], ecx
mov dword [eax + 0xc], 0x79d758
mov dword [eax + 4], 0
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf0], edi
mov dword [esp + 0xec], edx
mov dword [esp + 0xe8], esi
call fcn.0048a14c
mov ecx, dword [ebp + 8]
mov si, word [ecx + 0x12]
rol si, 8
movzx ecx, si
mov edx, dword [ebp + 0x1c]
mov edi, esp
mov dword [edi + 8], edx
mov dword [edi], ecx
mov dword [edi + 0xc], 0x79d75d
mov dword [edi + 4], 0
mov dword [esp + 0xe4], eax
call fcn.0048a14c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x2c]
bswap ecx
bswap edx
mov edi, dword [ebp + 0x1c]
mov ebx, esp
mov dword [ebx + 8], edi
mov dword [ebx + 4], edx
mov dword [ebx], ecx
mov dword [ebx + 0xc], str.sh_offset
mov dword [esp + 0xe0], eax
call fcn.0048a14c
mov ecx, dword [ebp + 8]
mov si, word [ecx + 0x3a]
rol si, 8
movzx ecx, si
mov edx, dword [ebp + 0x1c]
mov edi, esp
mov dword [edi + 8], edx
mov dword [edi], ecx
mov dword [edi + 0xc], str.sh_entry_size
mov dword [edi + 4], 0
mov dword [esp + 0xdc], eax
call fcn.0048a14c
mov ecx, dword [ebp + 8]
mov si, word [ecx + 0x3c]
rol si, 8
movzx ecx, si
mov edx, dword [ebp + 0x1c]
mov edi, esp
mov dword [edi + 8], edx
mov dword [edi], ecx
mov dword [edi + 0xc], 0x79d77d
mov dword [edi + 4], 0
mov dword [esp + 0xd8], eax
call fcn.0048a14c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x24]
bswap ecx
bswap edx
mov edi, dword [ebp + 0x1c]
mov ebx, esp
mov dword [ebx + 8], edi
mov dword [ebx + 4], edx
mov dword [ebx], ecx
mov dword [ebx + 0xc], str.ph_offset
mov dword [esp + 0xd4], eax
call fcn.0048a14c
mov ecx, dword [ebp + 8]
mov si, word [ecx + 0x36]
rol si, 8
movzx ecx, si
mov edx, dword [ebp + 0x1c]
mov edi, esp
mov dword [edi + 8], edx
mov dword [edi], ecx
mov dword [edi + 0xc], str.ph_entry_size
mov dword [edi + 4], 0
mov dword [esp + 0xd0], eax
call fcn.0048a14c
mov ecx, dword [ebp + 8]
mov si, word [ecx + 0x38]
rol si, 8
movzx ecx, si
mov edx, dword [ebp + 0x1c]
mov edi, esp
mov dword [edi + 8], edx
mov dword [edi], ecx
mov dword [edi + 0xc], str.number_of_segments
mov dword [edi + 4], 0
mov dword [esp + 0xcc], eax
call fcn.0048a14c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
or ecx, edx
bswap ecx
test ecx, ecx
mov dword [esp + 0xc8], eax
je 0x46a915
jmp 0x46a87b
mov eax, dword [ebp + 0x18]
and eax, 2
cmp eax, 0
je 0x46a8b5
mov eax, dword [esp + 0x148]
mov ecx, dword [esp + 0x14c]
mov edx, dword [ebp + 8]
mov esi, dword [edx + 0x18]
mov edx, dword [edx + 0x1c]
bswap esi
bswap edx
add eax, edx
adc ecx, esi
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc0], ecx
jmp 0x46a8e7
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
bswap edx
bswap ecx
mov esi, dword [ebp + 0x14]
mov edi, esp
mov dword [edi + 0xc], esi
mov dword [edi + 8], ecx
mov dword [edi + 4], edx
mov dword [edi], eax
call fcn.00467b10
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc0], edx
jmp 0x46a8e7
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xc4]
mov edx, dword [ebp + 0x1c]
mov esi, esp
mov dword [esi + 8], edx
mov dword [esi + 4], eax
mov dword [esi], ecx
mov dword [esi + 0xc], 0x79d7bb
call fcn.0048a14c
mov dword [esp + 0xbc], eax
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x3c]
rol cx, 8
movzx eax, cx
cmp eax, 0xff00
jge 0x46b083
movzx eax, word [esp + 0x13a]
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 0x3c]
rol dx, 8
movzx ecx, dx
cmp eax, ecx
jge 0x46b083
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov eax, dword [eax + 0x2c]
bswap ecx
bswap eax
mov edx, dword [ebp + 0x14]
sub eax, edx
sbb ecx, 0
mov dword [esp + 0xb8], eax
mov dword [esp + 0xb4], ecx
jae 0x46b083
jmp 0x46a977
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x2c]
bswap ecx
bswap edx
mov si, word [eax + 0x3c]
rol si, 8
movzx eax, si
shl eax, 6
add edx, eax
adc ecx, 0
mov eax, dword [ebp + 0x14]
xor edi, edi
sub eax, edx
sbb edi, ecx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xac], edi
jb 0x46b083
jmp 0x46a9b6
mov dword [esp + 0x110], 0
mov eax, dword [esp + 0x13c]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x2c]
bswap ecx
add eax, ecx
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x11c]
movzx ecx, word [esp + 0x13a]
shl ecx, 6
mov edx, dword [eax + ecx + 0x18]
mov eax, dword [eax + ecx + 0x1c]
bswap edx
bswap eax
mov ecx, dword [ebp + 0x14]
sub eax, ecx
sbb edx, 0
mov dword [esp + 0xa8], eax
mov dword [esp + 0xa4], edx
jae 0x46aa39
jmp 0x46aa11
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0x11c]
movzx edx, word [esp + 0x13a]
shl edx, 6
mov ecx, dword [ecx + edx + 0x1c]
bswap ecx
add eax, ecx
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x118], eax
mov dword [esp + 0x144], 0
mov eax, dword [esp + 0x144]
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 0x3c]
rol dx, 8
movzx ecx, dx
cmp eax, ecx
jae 0x46ad91
mov eax, dword [esp + 0x118]
mov eax, dword [eax + 4]
bswap eax
mov ecx, dword [ebp + 0x1c]
mov edx, dword [esp + 0x144]
mov esi, esp
mov dword [esi + 0x10], edx
mov dword [esi + 8], ecx
mov dword [esi], eax
mov dword [esi + 0xc], str.sections__i_.type
mov dword [esi + 4], 0
call fcn.0048a14c
mov ecx, dword [esp + 0x118]
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
bswap ecx
bswap edx
mov esi, dword [ebp + 0x1c]
mov edi, dword [esp + 0x144]
mov ebx, esp
mov dword [ebx + 0x10], edi
mov dword [ebx + 8], esi
mov dword [ebx + 4], edx
mov dword [ebx], ecx
mov dword [ebx + 0xc], str.sections__i_.flags
mov dword [esp + 0xa0], eax
call fcn.0048a14c
mov ecx, dword [esp + 0x118]
mov edx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
bswap ecx
bswap edx
mov esi, dword [ebp + 0x1c]
mov edi, dword [esp + 0x144]
mov ebx, esp
mov dword [ebx + 0x10], edi
mov dword [ebx + 8], esi
mov dword [ebx + 4], edx
mov dword [ebx], ecx
mov dword [ebx + 0xc], str.sections__i_.address
mov dword [esp + 0x9c], eax
call fcn.0048a14c
mov ecx, dword [esp + 0x118]
mov edx, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x24]
bswap ecx
bswap edx
mov esi, dword [ebp + 0x1c]
mov edi, dword [esp + 0x144]
mov ebx, esp
mov dword [ebx + 0x10], edi
mov dword [ebx + 8], esi
mov dword [ebx + 4], edx
mov dword [ebx], ecx
mov dword [ebx + 0xc], str.sections__i_.size
mov dword [esp + 0x98], eax
call fcn.0048a14c
mov ecx, dword [esp + 0x118]
mov edx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
bswap edx
bswap ecx
mov esi, dword [ebp + 0x1c]
mov edi, dword [esp + 0x144]
mov ebx, esp
mov dword [ebx + 0x10], edi
mov dword [ebx + 8], esi
mov dword [ebx + 4], edx
mov dword [ebx], ecx
mov dword [ebx + 0xc], str.sections__i_.offset
mov dword [esp + 0x94], eax
call fcn.0048a14c
mov ecx, dword [esp + 0x118]
mov ecx, dword [ecx]
bswap ecx
cmp ecx, dword [ebp + 0x14]
mov dword [esp + 0x90], eax
jae 0x46ac73
mov eax, dword [esp + 0x110]
cmp eax, dword [esp + 0x13c]
jbe 0x46ac73
mov eax, dword [esp + 0x110]
mov ecx, dword [esp + 0x13c]
add ecx, dword [ebp + 0x14]
mov edx, dword [esp + 0x118]
mov edx, dword [edx]
bswap edx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00467004
mov dword [esp + 0x10c], eax
cmp dword [esp + 0x10c], 0
je 0x46ac71
mov eax, dword [esp + 0x10c]
cmp dword [esp + 0x10c], 0
mov dword [esp + 0x8c], eax
jne 0x46ac1d
xor eax, eax
mov dword [esp + 0x88], eax
jmp 0x46ac34
mov eax, dword [esp + 0x10c]
mov ecx, esp
mov dword [ecx], eax
call fcn.0076d774
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x88]
lea ecx, [0x79d827]
mov edx, dword [ebp + 0x1c]
mov esi, dword [esp + 0x144]
mov edi, dword [esp + 0x8c]
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
call fcn.0048a324
mov dword [esp + 0x84], eax
jmp 0x46ac73
mov eax, dword [esp + 0x118]
mov eax, dword [eax + 4]
bswap eax
cmp eax, 2
jne 0x46ad68
mov eax, dword [esp + 0x118]
mov eax, dword [eax + 0x28]
bswap eax
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx + 0x3c]
cmp eax, ecx
jae 0x46ad68
mov eax, dword [esp + 0x11c]
mov ecx, dword [esp + 0x118]
mov ecx, dword [ecx + 0x28]
bswap ecx
shl ecx, 6
add eax, ecx
mov dword [esp + 0x108], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov edx, dword [esp + 0x108]
mov esi, esp
mov dword [esi + 8], edx
mov dword [esi + 4], ecx
mov dword [esi], eax
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0x40
call fcn.004670b4
test al, 1
jne 0x46acf2
jmp 0x46ad66
mov eax, dword [esp + 0x108]
mov eax, dword [eax + 4]
bswap eax
cmp eax, 3
jne 0x46ad66
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0x118]
mov edx, dword [ecx + 0x1c]
bswap edx
mov esi, eax
add esi, edx
mov dword [esp + 0x134], esi
mov edx, dword [esp + 0x108]
mov esi, dword [edx + 0x1c]
bswap esi
add eax, esi
mov dword [esp + 0x130], eax
mov eax, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x24]
bswap ecx
bswap eax
mov dword [esp + 0x12c], eax
mov dword [esp + 0x128], ecx
mov eax, dword [edx + 0x20]
mov ecx, dword [edx + 0x24]
bswap ecx
bswap eax
mov dword [esp + 0x124], eax
mov dword [esp + 0x120], ecx
jmp 0x46ad68
jmp 0x46ad6a
mov eax, dword [esp + 0x144]
add eax, 1
mov dword [esp + 0x144], eax
mov eax, dword [esp + 0x118]
add eax, 0x40
mov dword [esp + 0x118], eax
jmp 0x46aa52
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov edx, dword [esp + 0x130]
mov esi, dword [esp + 0x120]
mov edi, dword [esp + 0x124]
mov ebx, esp
mov dword [ebx + 0x10], edi
mov dword [ebx + 0xc], esi
mov dword [ebx + 8], edx
mov dword [ebx + 4], ecx
mov dword [ebx], eax
call fcn.004670b4
test al, 1
jne 0x46adca
jmp 0x46b081
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov edx, dword [esp + 0x134]
mov esi, dword [esp + 0x128]
mov edi, dword [esp + 0x12c]
mov ebx, esp
mov dword [ebx + 0x10], edi
mov dword [ebx + 0xc], esi
mov dword [ebx + 8], edx
mov dword [ebx + 4], ecx
mov dword [ebx], eax
call fcn.004670b4
test al, 1
jne 0x46ae03
jmp 0x46b081
mov eax, dword [esp + 0x134]
mov dword [esp + 0x104], eax
mov dword [esp + 0x140], 0
mov eax, dword [esp + 0x140]
mov ecx, dword [esp + 0x128]
mov edx, dword [esp + 0x12c]
mov esi, esp
mov dword [esi + 4], edx
mov dword [esi], ecx
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0x18
mov dword [esp + 0x80], eax
call fcn.00777c65
sub esp, 0x10
xor ecx, ecx
mov esi, dword [esp + 0x80]
sub esi, eax
sbb ecx, edx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], ecx
jae 0x46b05b
jmp 0x46ae72
mov eax, dword [esp + 0x130]
mov ecx, eax
mov edx, dword [esp + 0x120]
add eax, edx
mov edx, dword [esp + 0x104]
mov edx, dword [edx]
bswap edx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00467004
mov dword [esp + 0x100], eax
cmp dword [esp + 0x100], 0
je 0x46af15
mov eax, dword [esp + 0x100]
cmp dword [esp + 0x100], 0
mov dword [esp + 0x74], eax
jne 0x46aecd
xor eax, eax
mov dword [esp + 0x70], eax
jmp 0x46aee1
mov eax, dword [esp + 0x100]
mov ecx, esp
mov dword [ecx], eax
call fcn.0076d774
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x70]
lea ecx, str.symtab__i_.name
mov edx, dword [ebp + 0x1c]
mov esi, dword [esp + 0x140]
mov edi, dword [esp + 0x74]
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
call fcn.0048a324
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x104]
movzx eax, byte [eax + 4]
shr eax, 4
mov ecx, dword [ebp + 0x1c]
mov edx, dword [esp + 0x140]
mov esi, esp
mov dword [esi + 0x10], edx
mov dword [esi + 8], ecx
mov dword [esi], eax
mov dword [esi + 0xc], str.symtab__i_.bind
mov dword [esi + 4], 0
call fcn.0048a14c
mov ecx, dword [esp + 0x104]
movzx ecx, byte [ecx + 4]
and ecx, 0xf
mov edx, dword [ebp + 0x1c]
mov esi, dword [esp + 0x140]
mov edi, esp
mov dword [edi + 0x10], esi
mov dword [edi + 8], edx
mov dword [edi], ecx
mov dword [edi + 0xc], str.symtab__i_.type
mov dword [edi + 4], 0
mov dword [esp + 0x68], eax
call fcn.0048a14c
mov ecx, dword [esp + 0x104]
mov bx, word [ecx + 6]
rol bx, 8
movzx ecx, bx
mov edx, dword [ebp + 0x1c]
mov esi, dword [esp + 0x140]
mov edi, esp
mov dword [edi + 0x10], esi
mov dword [edi + 8], edx
mov dword [edi], ecx
mov dword [edi + 0xc], str.symtab__i_.shndx
mov dword [edi + 4], 0
mov dword [esp + 0x64], eax
call fcn.0048a14c
mov ecx, dword [esp + 0x104]
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
bswap ecx
bswap edx
mov esi, dword [ebp + 0x1c]
mov edi, dword [esp + 0x140]
mov ebx, esp
mov dword [ebx + 0x10], edi
mov dword [ebx + 8], esi
mov dword [ebx + 4], edx
mov dword [ebx], ecx
mov dword [ebx + 0xc], str.symtab__i_.value
mov dword [esp + 0x60], eax
call fcn.0048a14c
mov ecx, dword [esp + 0x104]
mov edx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
bswap edx
bswap ecx
mov esi, dword [ebp + 0x1c]
mov edi, dword [esp + 0x140]
mov ebx, esp
mov dword [ebx + 0x10], edi
mov dword [ebx + 8], esi
mov dword [ebx + 4], edx
mov dword [ebx], ecx
mov dword [ebx + 0xc], str.symtab__i_.size
mov dword [esp + 0x5c], eax
call fcn.0048a14c
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x140]
add eax, 1
mov dword [esp + 0x140], eax
mov eax, dword [esp + 0x104]
add eax, 0x18
mov dword [esp + 0x104], eax
jmp 0x46ae1c
xor eax, eax
mov ecx, dword [esp + 0x140]
mov edx, dword [ebp + 0x1c]
mov esi, esp
mov dword [esi + 8], edx
mov dword [esi + 4], eax
mov dword [esi], ecx
mov dword [esi + 0xc], str.symtab_entries
call fcn.0048a14c
mov dword [esp + 0x54], eax
jmp 0x46b083
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x38]
rol cx, 8
movzx eax, cx
cmp eax, 0
jle 0x46b48e
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x38]
rol cx, 8
movzx eax, cx
cmp eax, 0xffff
jge 0x46b48e
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
bswap ecx
bswap eax
mov edx, dword [ebp + 0x14]
sub eax, edx
sbb ecx, 0
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ecx
jae 0x46b48e
jmp 0x46b0d8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
bswap ecx
bswap edx
mov si, word [eax + 0x38]
rol si, 8
movzx eax, si
imul eax, eax, 0x38
add edx, eax
adc ecx, 0
mov eax, dword [ebp + 0x14]
xor edi, edi
sub eax, edx
sbb edi, ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], edi
jb 0x46b48e
jmp 0x46b111
mov eax, dword [esp + 0x13c]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x24]
bswap ecx
add eax, ecx
mov dword [esp + 0x114], eax
mov dword [esp + 0x144], 0
mov eax, dword [esp + 0x144]
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 0x38]
rol dx, 8
movzx ecx, dx
cmp eax, ecx
jae 0x46b48c
mov eax, dword [esp + 0x114]
mov eax, dword [eax]
bswap eax
mov ecx, dword [ebp + 0x1c]
mov edx, dword [esp + 0x144]
mov esi, esp
mov dword [esi + 0x10], edx
mov dword [esi + 8], ecx
mov dword [esi], eax
mov dword [esi + 0xc], str.segments__i_.type
mov dword [esi + 4], 0
call fcn.0048a14c
mov ecx, dword [esp + 0x114]
mov ecx, dword [ecx + 4]
bswap ecx
mov edx, dword [ebp + 0x1c]
mov esi, dword [esp + 0x144]
mov edi, esp
mov dword [edi + 0x10], esi
mov dword [edi + 8], edx
mov dword [edi], ecx
mov dword [edi + 0xc], str.segments__i_.flags
mov dword [edi + 4], 0
mov dword [esp + 0x40], eax
call fcn.0048a14c
mov ecx, dword [esp + 0x114]
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
bswap ecx
bswap edx
mov esi, dword [ebp + 0x1c]
mov edi, dword [esp + 0x144]
mov ebx, esp
mov dword [ebx + 0x10], edi
mov dword [ebx + 8], esi
mov dword [ebx + 4], edx
mov dword [ebx], ecx
mov dword [ebx + 0xc], str.segments__i_.offset
mov dword [esp + 0x3c], eax
call fcn.0048a14c
mov ecx, dword [esp + 0x114]
mov edx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
bswap ecx
bswap edx
mov esi, dword [ebp + 0x1c]
mov edi, dword [esp + 0x144]
mov ebx, esp
mov dword [ebx + 0x10], edi
mov dword [ebx + 8], esi
mov dword [ebx + 4], edx
mov dword [ebx], ecx
mov dword [ebx + 0xc], str.segments__i_.virtual_address
mov dword [esp + 0x38], eax
call fcn.0048a14c
mov ecx, dword [esp + 0x114]
mov edx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
bswap ecx
bswap edx
mov esi, dword [ebp + 0x1c]
mov edi, dword [esp + 0x144]
mov ebx, esp
mov dword [ebx + 0x10], edi
mov dword [ebx + 8], esi
mov dword [ebx + 4], edx
mov dword [ebx], ecx
mov dword [ebx + 0xc], str.segments__i_.physical_address
mov dword [esp + 0x34], eax
call fcn.0048a14c
mov ecx, dword [esp + 0x114]
mov edx, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x24]
bswap ecx
bswap edx
mov esi, dword [ebp + 0x1c]
mov edi, dword [esp + 0x144]
mov ebx, esp
mov dword [ebx + 0x10], edi
mov dword [ebx + 8], esi
mov dword [ebx + 4], edx
mov dword [ebx], ecx
mov dword [ebx + 0xc], str.segments__i_.file_size
mov dword [esp + 0x30], eax
call fcn.0048a14c
mov ecx, dword [esp + 0x114]
mov edx, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x2c]
bswap ecx
bswap edx
mov esi, dword [ebp + 0x1c]
mov edi, dword [esp + 0x144]
mov ebx, esp
mov dword [ebx + 0x10], edi
mov dword [ebx + 8], esi
mov dword [ebx + 4], edx
mov dword [ebx], ecx
mov dword [ebx + 0xc], str.segments__i_.memory_size
mov dword [esp + 0x2c], eax
call fcn.0048a14c
mov ecx, dword [esp + 0x114]
mov edx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0x34]
bswap edx
bswap ecx
mov esi, dword [ebp + 0x1c]
mov edi, dword [esp + 0x144]
mov ebx, esp
mov dword [ebx + 0x10], edi
mov dword [ebx + 8], esi
mov dword [ebx + 4], edx
mov dword [ebx], ecx
mov dword [ebx + 0xc], str.segments__i_.alignment
mov dword [esp + 0x28], eax
call fcn.0048a14c
mov ecx, dword [esp + 0x114]
mov ecx, dword [ecx]
bswap ecx
cmp ecx, 2
mov dword [esp + 0x24], eax
jne 0x46b463
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0x114]
mov ecx, dword [ecx + 0xc]
bswap ecx
add eax, ecx
mov dword [esp + 0xfc], eax
mov dword [esp + 0x140], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov edx, dword [esp + 0xfc]
mov esi, esp
mov dword [esi + 8], edx
mov dword [esi + 4], ecx
mov dword [esi], eax
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0x10
call fcn.004670b4
test al, 1
jne 0x46b37c
jmp 0x46b43d
mov eax, dword [esp + 0xfc]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
bswap eax
bswap ecx
mov edx, dword [ebp + 0x1c]
mov esi, dword [esp + 0x140]
mov edi, esp
mov dword [edi + 0x10], esi
mov dword [edi + 8], edx
mov dword [edi + 4], ecx
mov dword [edi], eax
mov dword [edi + 0xc], str.dynamic__i_.type
call fcn.0048a14c
mov ecx, dword [esp + 0xfc]
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
bswap ecx
bswap edx
mov esi, dword [ebp + 0x1c]
mov edi, dword [esp + 0x140]
mov ebx, esp
mov dword [ebx + 0x10], edi
mov dword [ebx + 8], esi
mov dword [ebx + 4], edx
mov dword [ebx], ecx
mov dword [ebx + 0xc], str.dynamic__i_.val
mov dword [esp + 0x20], eax
call fcn.0048a14c
mov ecx, dword [esp + 0xfc]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
or edx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
jne 0x46b414
jmp 0x46b401
mov eax, dword [esp + 0x140]
add eax, 1
mov dword [esp + 0x140], eax
jmp 0x46b43d
jmp 0x46b416
mov eax, dword [esp + 0xfc]
add eax, 0x10
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x140]
add eax, 1
mov dword [esp + 0x140], eax
jmp 0x46b349
xor eax, eax
mov ecx, dword [esp + 0x140]
mov edx, dword [ebp + 0x1c]
mov esi, esp
mov dword [esi + 8], edx
mov dword [esi + 4], eax
mov dword [esi], ecx
mov dword [esi + 0xc], str.dynamic_section_entries
call fcn.0048a14c
mov dword [esp + 0x14], eax
jmp 0x46b465
mov eax, dword [esp + 0x144]
add eax, 1
mov dword [esp + 0x144], eax
mov eax, dword [esp + 0x114]
add eax, 0x38
mov dword [esp + 0x114], eax
jmp 0x46b134
jmp 0x46b48e
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret