Function at 0x46d740
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x4d36eb
mov eax, dword fs:[0]
push eax
mov eax, 0x1070
call fcn.004bfc70
mov eax, dword [0x4ea93c]
xor eax, esp
mov dword [esp + 0x106c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ea93c]
xor eax, esp
push eax
lea eax, [esp + 0x1084]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x1098]
mov edi, dword [esp + 0x109c]
mov ecx, ebx
mov dword [esp + 0x34], ebx
call fcn.0043b650
xor ebp, ebp
push ebp
mov ecx, ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
mov byte [esp + 0x1b], 0
call fcn.0040cb30
test al, al
je 0x46d7d0
mov eax, dword [ebx + 0x5ee0]
mov dword [edi + 0x5ee0], eax
mov ecx, dword [ebx + 0x5ee4]
mov byte [esp + 0x17], 1
mov dword [edi + 0x5ee4], ecx
push ebp
push ebp
push ebp
xor edx, edx
push ebp
mov ecx, edi
mov dword [edi + 0x5ef0], ebp
mov word [edi + 0x5eec], dx
call fcn.0040e240
push ebp
push ebp
push ebp
push 1
mov ecx, edi
call fcn.0040e240
mov ecx, dword [ebx + 0xa9a8]
mov edx, dword [ebx + 0xa9ac]
mov eax, dword [ebx]
mov eax, dword [eax + 8]
add ecx, 0xd
push ebp
adc edx, ebp
push edx
push ecx
mov ecx, ebx
call eax
mov ecx, dword [edi + 0x5ee4]
sub ecx, 0xd
push ebp
push ecx
push edi
mov ecx, ebx
call fcn.0043b910
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push ebp
push ebp
push ebp
mov ecx, ebx
call eax
push 0x10000
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
call fcn.0040b8e0
mov dword [esp + 0x108c], ebp
mov esi, dword [esp + 0x48]
mov edx, dword [ebx]
mov eax, dword [esp + 0x44]
mov edx, dword [edx + 4]
push esi
push eax
mov ecx, ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
call edx
xor eax, eax
mov dword [esp + 0x54], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebp
lea ebp, [edi + 0x5f50]
add esi, 0xfffff000
push eax
mov ecx, ebp
mov dword [esp + 0x60], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], eax
call fcn.00441d20
mov eax, dword [esp + 0x38]
sub eax, 0x20
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x3c]
sbb eax, 0
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x54]
inc eax
mov dword [esp + 0x54], eax
test eax, 0xfffff
jne 0x46d8cb
call fcn.0047eeb0
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
push esi
push ecx
push edx
call fcn.004c2ab0
mov esi, eax
add esi, dword [esp + 0x44]
lea eax, [esi + 2]
mov dword [esp + 0x38], eax
movzx eax, byte [eax]
mov dword [edi + 0x5f54], eax
movzx ecx, byte [esi + 6]
movzx edx, byte [esi + 5]
shl ecx, 8
add ecx, edx
mov dword [edi + 0x5f5c], ecx
movzx eax, byte [esi + 0x1b]
movzx edx, byte [esi + 0x1a]
shl eax, 8
add eax, edx
cmp dword [edi + 0x5f54], 0x74
mov dword [esp + 0x28], eax
jne 0x46dd73
cmp ecx, 0x1000
jae 0x46dd73
lea ecx, [eax - 1]
cmp ecx, 0x7fe
ja 0x46dd73
cmp eax, 0x800
jae 0x46dd73
movzx edx, byte [esi + 1]
movzx eax, byte [esi]
shl edx, 8
add edx, eax
mov dword [ebp], edx
movzx ecx, byte [esi + 4]
movzx edx, byte [esi + 3]
shl ecx, 8
add ecx, edx
mov dword [edi + 0x5f58], ecx
movzx eax, byte [esi + 0xa]
movzx ecx, byte [esi + 9]
movzx edx, byte [esi + 8]
shl eax, 8
add eax, ecx
movzx ecx, byte [esi + 7]
shl eax, 8
add eax, edx
shl eax, 8
add eax, ecx
mov dword [edi + 0x5f64], eax
movzx eax, byte [esi + 0xe]
movzx edx, byte [esi + 0xd]
movzx ecx, byte [esi + 0xc]
shl eax, 8
add eax, edx
movzx edx, byte [esi + 0xb]
shl eax, 8
add eax, ecx
shl eax, 8
add eax, edx
mov dword [esp + 0x60], eax
movzx eax, byte [esi + 0xf]
mov byte [edi + 0x5f68], al
mov dword [edi + 0x6fb0], 2
movzx ecx, byte [esi + 0x13]
movzx edx, byte [esi + 0x12]
movzx eax, byte [esi + 0x11]
shl ecx, 8
add ecx, edx
movzx edx, byte [esi + 0x10]
shl ecx, 8
add ecx, eax
shl ecx, 8
add ecx, edx
mov dword [edi + 0x6fb4], ecx
movzx eax, byte [esi + 0x17]
movzx ecx, byte [esi + 0x16]
movzx edx, byte [esi + 0x15]
shl eax, 8
add eax, ecx
movzx ecx, byte [esi + 0x14]
shl eax, 8
add eax, edx
shl eax, 8
add eax, ecx
push eax
lea ecx, [edi + 0x6f80]
call fcn.00481880
mov dl, byte [esi + 0x18]
mov byte [edi + 0x5f69], dl
movzx eax, byte [esi + 0x19]
mov byte [edi + 0x5f6a], al
movzx ecx, byte [esi + 0x1f]
movzx edx, byte [esi + 0x1e]
movzx eax, byte [esi + 0x1d]
shl ecx, 8
add ecx, edx
movzx edx, byte [esi + 0x1c]
shl ecx, 8
add ecx, eax
shl ecx, 8
add ecx, edx
xor eax, eax
test dword [edi + 0x5f58], 0x100
mov dword [edi + 0x5f6c], ecx
mov dword [esp + 0x40], eax
je 0x46daa7
movzx eax, byte [esi + 0x23]
movzx ecx, byte [esi + 0x22]
movzx edx, byte [esi + 0x21]
shl eax, 8
add eax, ecx
movzx ecx, byte [esi + 0x20]
shl eax, 8
add eax, edx
movzx edx, byte [esi + 0x26]
shl eax, 8
add eax, ecx
movzx ecx, byte [esi + 0x27]
shl ecx, 8
add ecx, edx
movzx edx, byte [esi + 0x25]
shl ecx, 8
add ecx, edx
movzx edx, byte [esi + 0x24]
shl ecx, 8
add ecx, edx
mov dword [esp + 0x40], ecx
push 1
push 0
push 0
push eax
call fcn.004bfed0
mov ecx, dword [edi + 0x5f64]
xor ebx, ebx
add eax, ecx
push 1
adc edx, ebx
push ebx
mov dword [edi + 0x6f9c], edx
mov edx, dword [esp + 0x48]
push ebx
push edx
mov dword [edi + 0x6f98], eax
call fcn.004bfed0
mov ebx, dword [esp + 0x28]
xor ecx, ecx
add eax, dword [esp + 0x60]
push ebx
adc edx, ecx
push ecx
mov ecx, edi
mov dword [edi + 0x6fa0], eax
mov dword [edi + 0x6fa4], edx
call fcn.0046cc40
add eax, esi
push eax
lea edx, [esp + 0x88]
push edx
call fcn.004c0c90
add esp, 0xc
test dword [edi + 0x5f58], 0x200
je 0x46db69
lea ecx, [esp + 0x6c]
call fcn.00430bc0
lea eax, [esp + 0x80]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46db30
push 0x800
sub eax, edx
lea ecx, [edi + 0x5f70]
push ecx
inc eax
mov ecx, ebx
sub ecx, eax
push ecx
lea edx, [esp + eax + 0x8c]
push edx
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x80]
call fcn.00430be0
jmp 0x46db72
xor ecx, ecx
mov word [edi + 0x5f70], cx
mov edx, dword [edi + 0x5f58]
test edx, 0x400
je 0x46db9e
push 0
mov ecx, edi
call fcn.0046cc40
add eax, ebx
mov ecx, dword [eax + esi]
mov dword [edi + 0x6fe1], ecx
mov eax, dword [eax + esi + 4]
mov dword [edi + 0x6fe5], eax
mov eax, dword [edi + 0x5f5c]
sub eax, 2
test eax, eax
jle 0x46dd6f
test dl, 8
je 0x46dbc1
push 1
mov ecx, edi
call fcn.0046cc40
lea eax, [eax + ebx - 2]
mov ecx, dword [esp + 0x38]
push eax
push ecx
push 0xffffffffffffffff
call fcn.004279c0
not eax
movzx eax, ax
push eax
mov eax, edi
call fcn.0046cbf0
mov ebx, dword [esp + 0x34]
test al, al
je 0x46dd73
mov eax, dword [edi + 0x5f5c]
mov edx, dword [ebx]
mov edx, dword [edx + 8]
xor ecx, ecx
add eax, dword [esp + 0x18]
push 0
adc ecx, dword [esp + 0x20]
push ecx
push eax
mov ecx, ebx
call edx
mov eax, dword [esp + 0x28]
mov byte [esp + eax + 0x80], 0
call fcn.0047eeb0
cmp word [edi + 0x5f70], 0
lea esi, [edi + 0x5f70]
jne 0x46dc61
push 1
lea ecx, [esp + 0x84]
push ecx
call fcn.00460100
push 0x800
lea edx, [esp + 0x884]
push edx
lea eax, [esp + 0x88]
push eax
call fcn.0047df00
push 0x800
push esi
lea ecx, [esp + 0x888]
push ecx
call fcn.004859f0
mov edx, dword [edi + 0x5f58]
and edx, 0xffffefff
or dword [esp + 0x20], edx
push 1
mov ecx, edi
call fcn.0046cc40
add eax, dword [esp + 0x28]
push esi
push 0x268
mov dword [edi + 0x5f5c], eax
call fcn.004744a0
push eax
call fcn.0049eb10
mov eax, dword [ebp + 8]
inc dword [esp + 0x2c]
mov ecx, eax
shr ecx, 0xe
and cl, 1
mov byte [ebp + 0x10], cl
mov dl, al
and dl, 1
mov byte [ebp + 0x1088], dl
mov ecx, eax
shr ecx, 1
and cl, 1
mov byte [ebp + 0x1089], cl
mov edx, eax
shr edx, 2
and dl, 1
mov ecx, eax
shr ecx, 0xa
and cl, 1
mov byte [ebp + 0x108b], dl
mov byte [ebp + 0x1090], cl
mov edx, eax
shr edx, 4
mov ecx, eax
and ecx, 0xe0
and dl, 1
add esp, 8
cmp cl, 0xe0
sete cl
mov byte [ebp + 0x10e0], dl
mov byte [ebp + 0x10e1], cl
test cl, cl
je 0x46dd08
xor edx, edx
jmp 0x46dd17
mov ecx, eax
shr ecx, 5
and ecx, 7
mov edx, 0x10000
shl edx, cl
add byte [ebp + 0x1a], 0xd0
mov ecx, eax
mov dword [ebp + 0x10e4], edx
push 0
mov edx, eax
shr ecx, 0xb
push 0
and cl, 1
shr edx, 3
shr eax, 8
push 0
and dl, 1
mov byte [ebp + 0x10e3], cl
and al, 1
push 2
mov ecx, edi
mov byte [ebp + 0x10e2], dl
mov byte [ebp + 0x10e9], al
call fcn.0040e240
mov edx, dword [edi + 0x6f9c]
mov eax, dword [edi + 0x6f98]
push edx
push eax
push edi
mov ecx, ebx
call fcn.0043b910
jmp 0x46dd73
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
add eax, 1
adc ecx, 0
cmp ecx, dword [esp + 0x68]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
jg 0x46ddf4
jl 0x46dd97
cmp eax, dword [esp + 0x64]
jae 0x46ddf4
mov esi, dword [esp + 0x48]
xor ecx, ecx
push ecx
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x20]
add esi, 0xfffff000
push esi
push ecx
push eax
call fcn.004c2ab0
or eax, edx
jne 0x46d8b6
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebx]
mov edx, dword [edx + 8]
push eax
mov eax, dword [esp + 0x34]
push eax
push ecx
mov ecx, ebx
call edx
mov ecx, dword [esp + 0x48]
mov eax, dword [ebx]
mov edx, dword [esp + 0x44]
mov eax, dword [eax + 4]
push ecx
push edx
mov ecx, ebx
call eax
add dword [esp + 0x2c], esi
mov ecx, dword [esp + 0x5c]
adc dword [esp + 0x30], ecx
jmp 0x46d8b6
test byte [esp + 0x20], 3
je 0x46de02
mov byte [edi + 0xa9bd], 1
mov esi, dword [esp + 0x24]
test esi, esi
jbe 0x46de33
cmp byte [esp + 0x17], 0
jne 0x46de31
mov edx, dword [esp + 0x1094]
cmp byte [edx + 0x617c], 0
jne 0x46de31
call fcn.0046cbc0
test al, al
je 0x46de31
mov byte [edi + 0xa9bc], 1
test esi, esi
jne 0x46de5a
push 0x274
call fcn.004744a0
push eax
add ebx, 0x1e
push ebx
call fcn.004abfe0
add esp, 8
push 0xa
mov ecx, 0x51e7a8
call fcn.00433290
jmp 0x46de8e
mov eax, dword [edi]
mov edx, dword [eax + 8]
push 0
push 0
push 0
mov ecx, edi
call edx
push 0
push 0
push 0
push 0
mov ecx, edi
call fcn.0040e240
push 0
push 0
push 0
push 1
mov ecx, edi
call fcn.0040e240
mov ecx, edi
call fcn.0043afc0
mov dword [esp + 0x108c], 0xffffffff
mov eax, dword [esp + 0x44]
test eax, eax
je 0x46deaa
push eax
call fcn.004bff04
add esp, 4
mov ecx, dword [esp + 0x1084]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x106c]
xor ecx, esp
call fcn.004bfc52
add esp, 0x107c
ret 0xc