Function at 0x4003e940
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4007363e
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebx
push ebp
push esi
push edi
push 0x20
push 0xe
mov ebp, ecx
call fcn.40034cc0
mov ebx, dword [esp + 0xc0]
mov edi, eax
mov edx, dword [ebx + 4]
sub edx, dword [ebx]
sar edx, 2
mov dword [edi + 8], edx
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
sar eax, 2
shr eax, 1
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x2c]
sub eax, dword [ebx + 0x28]
sar eax, 2
mov dword [edi + 0x10], eax
mov esi, dword [ebx + 0x1c]
mov dword [edi + 0x14], esi
mov edx, dword [ebx + 0x20]
mov dword [edi + 0x18], edx
mov eax, dword [ebp]
test dword [eax + 0x14], 0x100000
je 0x4003e9e8
mov eax, esi
and eax, dword [ebp + 0x44]
cmp eax, dword [ebp + 0x44]
je 0x4003e9c4
mov eax, esi
and eax, dword [ebp + 0x48]
cmp eax, dword [ebp + 0x48]
jne 0x4003e9cc
mov eax, dword [ebp + 0x4c]
or eax, esi
mov dword [edi + 0x14], eax
mov eax, edx
and eax, dword [ebp + 0x44]
cmp eax, dword [ebp + 0x44]
je 0x4003e9e0
mov eax, edx
and eax, dword [ebp + 0x48]
cmp eax, dword [ebp + 0x48]
jne 0x4003e9e8
mov eax, dword [ebp + 0x4c]
or eax, edx
mov dword [edi + 0x18], eax
mov al, byte [ebx + 0x18]
mov byte [edi + 0x1c], al
mov al, byte [ebx + 0x19]
test al, al
sete al
mov byte [edi + 0x1d], al
mov eax, dword [ebp]
mov esi, dword [ebx]
sub edi, dword [eax + 0x138]
mov dword [esp + 0xa0], edi
mov edi, dword [ebx + 4]
cmp esi, edi
je 0x4003eb2b
mov ecx, dword [ebp]
xor ebx, ebx
cmp word [esi + 2], bx
setne bl
add ecx, 0x134
add ebx, 2
mov dword [esp + 0x10], ecx
add ebx, ebx
mov eax, dword [ecx]
sub eax, dword [ecx + 8]
cmp eax, ebx
jae 0x4003ea4b
mov edx, ebx
sub edx, dword [ecx + 4]
add edx, dword [ecx + 8]
call fcn.400433e0
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 8]
mov dword [esp + 0x14], edx
lea eax, [ebx + edx]
mov dword [ecx + 8], eax
mov al, byte [ebp + 0xc]
movzx ebx, word [esi]
mov ecx, dword [ebp + 4]
test al, al
je 0x4003eaa0
mov eax, dword [ecx]
push 1
mov ecx, dword [eax]
mov eax, ebx
mov dword [esp + 0x14], eax
lea eax, [esp + 0x1c]
push eax
push 1
lea eax, [esp + 0x1c]
push eax
push 0x100
push ecx
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
test eax, eax
movzx eax, word [esp + 0x10]
je 0x4003ea97
movzx eax, word [esp + 0x18]
mov edx, dword [esp + 0x14]
movzx eax, ax
jmp 0x4003eaa2
mov eax, ebx
mov word [edx], ax
movzx ecx, word [esi + 2]
test cx, cx
je 0x4003eb13
mov al, byte [ebp + 0xc]
mov ebx, ecx
mov ecx, dword [ebp + 4]
test al, al
je 0x4003eb05
mov eax, dword [ecx]
push 1
mov ecx, dword [eax]
mov eax, ebx
mov dword [esp + 0x14], eax
lea eax, [esp + 0x88]
push eax
push 1
lea eax, [esp + 0x1c]
push eax
push 0x100
push ecx
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
test eax, eax
movzx eax, word [esp + 0x10]
je 0x4003eaf2
movzx eax, word [esp + 0x84]
mov edx, dword [esp + 0x14]
movzx eax, ax
mov word [edx + 2], ax
xor eax, eax
mov word [edx + 4], ax
jmp 0x4003eb19
mov eax, ebx
mov word [edx + 2], ax
xor eax, eax
mov word [edx + 4], ax
jmp 0x4003eb19
xor eax, eax
mov word [edx + 2], ax
add esi, 4
cmp esi, edi
jne 0x4003ea16
mov ebx, dword [esp + 0xc0]
mov esi, dword [ebx + 0xc]
mov edi, dword [ebx + 0x10]
cmp esi, edi
je 0x4003f269
lea esp, [esp]
mov dx, word [esi]
mov al, byte [ebp + 0xc]
mov bx, word [esi + 2]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x14], edx
mov word [esp + 0x4c], dx
mov word [esp + 0x4e], bx
test al, al
je 0x4003eba1
mov eax, dword [ecx]
push 1
mov ecx, dword [eax]
movzx eax, dx
mov dword [esp + 0x14], eax
lea eax, [esp + 0x88]
push eax
push 1
lea eax, [esp + 0x1c]
push eax
push 0x100
push ecx
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
movzx edx, word [esp + 0x10]
test eax, eax
je 0x4003eb98
movzx edx, word [esp + 0x84]
mov dword [esp + 0x14], edx
mov word [esp + 0x4c], dx
mov al, byte [ebp + 0xc]
mov ecx, dword [ebp + 4]
test al, al
je 0x4003ebe9
mov eax, dword [ecx]
push 1
mov ecx, dword [eax]
movzx eax, bx
mov dword [esp + 0x14], eax
lea eax, [esp + 0xac]
push eax
push 1
lea eax, [esp + 0x1c]
push eax
push 0x100
push ecx
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
movzx ebx, word [esp + 0x10]
test eax, eax
je 0x4003ebe4
movzx ebx, word [esp + 0xa8]
mov word [esp + 0x4e], bx
movzx ecx, word [esi + 4]
movzx edx, word [esi + 6]
mov al, byte [ebp + 0xc]
mov dword [esp + 0x18], ecx
mov word [esp + 0x74], cx
mov ecx, dword [ebp + 4]
mov dword [esp + 0x10], edx
mov word [esp + 0x76], dx
test al, al
je 0x4003ec57
mov eax, dword [ecx]
push 1
mov ecx, dword [eax]
mov eax, dword [esp + 0x1c]
movzx eax, ax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xa8]
push eax
push 1
lea eax, [esp + 0x24]
push eax
push 0x100
push ecx
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
movzx ecx, word [esp + 0x18]
test eax, eax
je 0x4003ec4a
movzx ecx, word [esp + 0xa4]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
mov word [esp + 0x74], cx
mov al, byte [ebp + 0xc]
mov ecx, dword [ebp + 4]
test al, al
je 0x4003eca3
mov eax, dword [ecx]
push 1
mov ecx, dword [eax]
movzx eax, dx
mov dword [esp + 0x14], eax
lea eax, [esp + 0xb0]
push eax
push 1
lea eax, [esp + 0x1c]
push eax
push 0x100
push ecx
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
movzx edx, word [esp + 0x10]
test eax, eax
je 0x4003ec9a
movzx edx, word [esp + 0xac]
mov dword [esp + 0x10], edx
mov word [esp + 0x76], dx
xor eax, eax
mov dword [esp + 0x48], 7
add esi, 8
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
mov dword [esp + 0xb8], eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], eax
mov word [esp + 0x1c], ax
mov byte [esp + 0xb8], 1
mov eax, dword [ebp]
test dword [eax + 0x14], 0x200000
je 0x4003efbb
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x7e]
mov word [esp + 0x7c], ax
xor eax, eax
mov word [esp + 0x80], ax
mov eax, dword [esp + 0x18]
mov word [esp + 0x6c], ax
xor eax, eax
mov word [esp + 0x70], ax
test bx, bx
lea eax, [esp + 0x80]
mov word [esp + 0x7e], bx
cmove eax, ecx
mov word [esp + 0x6e], dx
mov ecx, dword [ebp + 4]
push eax
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.400338f0
mov ebx, eax
lea eax, [esp + 0x34]
cmp eax, ebx
je 0x4003edc1
cmp dword [esp + 0x48], 8
jb 0x4003ed5e
push dword [esp + 0x34]
call fcn.40053016
add esp, 4
xor eax, eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
cmp dword [ebx + 0x14], 8
jae 0x4003ed94
mov eax, dword [ebx + 0x10]
inc eax
je 0x4003eda0
add eax, eax
push eax
lea eax, [esp + 0x38]
push ebx
push eax
call fcn.40053920
add esp, 0xc
jmp 0x4003eda0
mov eax, dword [ebx]
mov dword [esp + 0x34], eax
mov dword [ebx], 0
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
cmp dword [esp + 0x68], 8
jb 0x4003edd4
push dword [esp + 0x54]
call fcn.40053016
add esp, 4
cmp word [esp + 0x6e], 0
lea ecx, [esp + 0x6e]
lea eax, [esp + 0x70]
cmove eax, ecx
mov ecx, dword [ebp + 4]
push eax
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.400338f0
mov ebx, eax
lea eax, [esp + 0x1c]
cmp eax, ebx
je 0x4003ee78
cmp dword [esp + 0x30], 8
jb 0x4003ee15
push dword [esp + 0x1c]
call fcn.40053016
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
cmp dword [ebx + 0x14], 8
jae 0x4003ee4b
mov eax, dword [ebx + 0x10]
inc eax
je 0x4003ee57
add eax, eax
push eax
lea eax, [esp + 0x20]
push ebx
push eax
call fcn.40053920
add esp, 0xc
jmp 0x4003ee57
mov eax, dword [ebx]
mov dword [esp + 0x1c], eax
mov dword [ebx], 0
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x30], eax
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
cmp dword [esp + 0x68], 8
jb 0x4003ee8b
push dword [esp + 0x54]
call fcn.40053016
add esp, 4
cmp dword [esp + 0x44], 0
jne 0x4003ef1b
xor eax, eax
mov ecx, 7
cmp dword [esp + 0x48], 8
mov edx, 1
mov dword [esp + 0x68], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x64], edx
jb 0x4003eec9
push dword [esp + 0x34]
call fcn.40053016
mov ecx, dword [esp + 0x6c]
add esp, 4
mov edx, dword [esp + 0x64]
xor eax, eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
cmp ecx, 8
jae 0x4003ef0b
lea eax, [edx + 1]
test eax, eax
je 0x4003ef13
add eax, eax
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.40053920
mov ecx, dword [esp + 0x74]
add esp, 0xc
mov edx, dword [esp + 0x64]
jmp 0x4003ef13
mov eax, dword [esp + 0x54]
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ecx
cmp dword [esp + 0x2c], 0
jne 0x4003f107
xor eax, eax
mov ecx, 7
cmp dword [esp + 0x30], 8
mov edx, 1
mov dword [esp + 0x68], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x64], edx
jb 0x4003ef59
push dword [esp + 0x1c]
call fcn.40053016
mov ecx, dword [esp + 0x6c]
add esp, 4
mov edx, dword [esp + 0x64]
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
cmp ecx, 8
jae 0x4003efa6
lea eax, [edx + 1]
test eax, eax
je 0x4003efae
add eax, eax
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.40053920
mov ecx, dword [esp + 0x74]
add esp, 0xc
mov edx, dword [esp + 0x64]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ecx
jmp 0x4003f107
mov eax, dword [esp + 0x54]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ecx
jmp 0x4003f107
lea ecx, [esp + 0x34]
test bx, bx
je 0x4003f01b
push dword [esp + 0x4c]
push 1
push 0
call fcn.4002e690
cmp dword [esp + 0x48], 8
lea ecx, [esp + 0x34]
mov eax, dword [esp + 0x44]
cmovae ecx, dword [esp + 0x34]
lea eax, [ecx + eax*2]
lea ecx, [esp + 0x34]
cmovae ecx, dword [esp + 0x34]
test eax, eax
jne 0x4003f005
push dword [esp + 0x4e]
lea ecx, [esp + 0x38]
push 1
push eax
call fcn.4002e690
jmp 0x4003f069
push dword [esp + 0x4e]
sub eax, ecx
lea ecx, [esp + 0x38]
sar eax, 1
push 1
push eax
call fcn.4002e690
jmp 0x4003f069
mov eax, dword [esp + 0x14]
mov word [esp + 0x54], ax
xor eax, eax
mov word [esp + 0x56], ax
mov dword [esp + 0x44], eax
mov word [esp + 0x34], ax
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], 1
mov dword [esp + 0x4c], 7
call fcn.4000705d
cmp dword [esp + 0x68], 8
jb 0x4003f069
push dword [esp + 0x54]
call fcn.40053016
add esp, 4
cmp word [esp + 0x10], 0
lea ecx, [esp + 0x1c]
mov eax, dword [esp + 0x2c]
je 0x4003f0d9
cmp dword [esp + 0x30], 8
cmovae ecx, dword [esp + 0x1c]
lea eax, [ecx + eax*2]
lea ecx, [esp + 0x1c]
cmovae ecx, dword [esp + 0x1c]
test eax, eax
je 0x4003f097
sub eax, ecx
sar eax, 1
push dword [esp + 0x74]
lea ecx, [esp + 0x20]
push 1
push eax
call fcn.4002e690
cmp dword [esp + 0x30], 8
lea ecx, [esp + 0x1c]
mov eax, dword [esp + 0x2c]
cmovae ecx, dword [esp + 0x1c]
lea eax, [ecx + eax*2]
lea ecx, [esp + 0x1c]
cmovae ecx, dword [esp + 0x1c]
test eax, eax
jne 0x4003f0cf
push dword [esp + 0x76]
jmp 0x4003f0fb
push dword [esp + 0x76]
sub eax, ecx
sar eax, 1
jmp 0x4003f0fb
cmp dword [esp + 0x30], 8
cmovae ecx, dword [esp + 0x1c]
lea eax, [ecx + eax*2]
lea ecx, [esp + 0x1c]
cmovae ecx, dword [esp + 0x1c]
test eax, eax
je 0x4003f0f7
sub eax, ecx
sar eax, 1
push dword [esp + 0x74]
push 1
push eax
lea ecx, [esp + 0x28]
call fcn.4002e690
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x34]
call fcn.40040160
test al, al
jne 0x4003f354
mov eax, dword [esp + 0x2c]
add eax, dword [esp + 0x44]
mov ebx, dword [ebp]
add ebx, 0x134
lea ecx, [eax*2 + 4]
mov dword [esp + 0x10], ecx
mov eax, dword [ebx]
mov edx, dword [ebx + 8]
sub eax, edx
cmp eax, ecx
jae 0x4003f153
sub edx, dword [ebx + 4]
add edx, ecx
mov ecx, ebx
call fcn.400433e0
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 8]
mov dword [esp + 0x10], eax
add eax, ecx
mov dword [ebx + 8], eax
lea eax, [esp + 0x34]
cmp dword [esp + 0x48], 8
mov ecx, dword [esp + 0x44]
cmovae eax, dword [esp + 0x34]
mov dword [esp + 0x14], ecx
lea ecx, [eax + ecx*2]
lea eax, [esp + 0x34]
cmovae eax, dword [esp + 0x34]
cmp eax, ecx
je 0x4003f1a4
mov ebx, dword [esp + 0x10]
sub ebx, eax
jmp 0x4003f190
mov dx, word [eax]
mov word [eax + ebx], dx
add eax, 2
cmp eax, ecx
jne 0x4003f190
mov eax, dword [esp + 0x44]
jmp 0x4003f1a8
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
xor edx, edx
mov word [ecx + eax*2], dx
add ecx, 2
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x30]
cmp ebx, 8
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x1c]
cmovae eax, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
lea ecx, [eax + ecx*2]
lea eax, [esp + 0x1c]
cmovae eax, dword [esp + 0x1c]
cmp eax, ecx
je 0x4003f204
mov ebx, dword [esp + 0x10]
sub ebx, eax
mov edi, edi
mov dx, word [eax]
mov word [eax + ebx], dx
add eax, 2
cmp eax, ecx
jne 0x4003f1f0
mov eax, dword [esp + 0x2c]
jmp 0x4003f208
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
xor edx, edx
mov word [ecx + eax*2], dx
cmp dword [esp + 0x30], 8
jb 0x4003f225
push dword [esp + 0x1c]
call fcn.40053016
add esp, 4
xor eax, eax
mov dword [esp + 0xb8], 0xffffffff
cmp dword [esp + 0x48], 8
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
jb 0x4003f25a
push dword [esp + 0x34]
call fcn.40053016
add esp, 4
cmp esi, edi
jne 0x4003eb40
mov ebx, dword [esp + 0xc0]
mov eax, dword [ebx + 0x28]
mov esi, dword [ebx + 0x2c]
mov dword [esp + 0x10], eax
cmp eax, esi
je 0x4003f4b3
jmp 0x4003f280
xor ecx, ecx
mov dword [esp + 0x9c], 7
mov dword [esp + 0x98], 0
mov word [esp + 0x88], cx
lea ecx, [eax + 2]
mov dword [esp + 0xb8], 2
movzx edx, word [ecx]
test dx, dx
je 0x4003f398
mov ax, word [eax]
mov ecx, dword [ebp + 4]
mov word [esp + 0x4c], ax
xor eax, eax
mov word [esp + 0x50], ax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x50]
mov word [esp + 0x52], dx
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.40033920
mov edi, eax
lea eax, [esp + 0x88]
cmp eax, edi
je 0x4003f338
cmp dword [esp + 0x9c], 8
jb 0x4003f30b
push dword [esp + 0x88]
call fcn.40053016
add esp, 4
xor eax, eax
mov dword [esp + 0x9c], 7
push edi
lea ecx, [esp + 0x8c]
mov dword [esp + 0x9c], 0
mov word [esp + 0x8c], ax
call fcn.4000705d
cmp dword [esp + 0x68], 8
jb 0x4003f40c
push dword [esp + 0x54]
call fcn.40053016
add esp, 4
jmp 0x4003f40c
cmp dword [esp + 0x30], 8
jb 0x4003f367
push dword [esp + 0x1c]
call fcn.40053016
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
cmp dword [esp + 0x48], 8
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
jb 0x4003f391
push dword [esp + 0x34]
call fcn.40053016
add esp, 4
xor eax, eax
jmp 0x4003f4c4
push ecx
mov ecx, dword [ebp + 4]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.40033920
mov edi, eax
lea eax, [esp + 0x88]
cmp eax, edi
je 0x4003f403
cmp dword [esp + 0x9c], 8
jb 0x4003f3cd
push dword [esp + 0x88]
call fcn.40053016
add esp, 4
xor eax, eax
mov dword [esp + 0x9c], 7
push edi
mov dword [esp + 0x9c], 0
mov word [esp + 0x8c], ax
call fcn.4000804a
add esp, 4
lea ecx, [esp + 0x88]
push eax
call fcn.4000705d
lea ecx, [esp + 0x54]
call fcn.40006c11
lea ecx, [esp + 0x88]
call fcn.40023ef1
lea ecx, [esp + 0x88]
test al, al
jne 0x4003f4df
call fcn.40007165
mov ecx, dword [ebp]
add ecx, 0x134
lea edx, [eax*2 + 2]
call fcn.4002d950
mov ebx, eax
lea ecx, [esp + 0x88]
lea eax, [esp + 0x14]
push eax
call fcn.4000e6bc
mov edi, eax
lea ecx, [esp + 0x88]
lea eax, [esp + 0x6c]
push eax
call fcn.4000e7a0
push dword [edi]
mov ecx, ebx
push dword [eax]
call fcn.400401d0
add esp, 8
lea ecx, [esp + 0x88]
call fcn.40007165
xor ecx, ecx
mov word [ebx + eax*2], cx
lea ecx, [esp + 0x10]
call fcn.400400c0
lea ecx, [esp + 0x88]
mov dword [esp + 0xb8], 0xffffffff
call fcn.40006c11
mov eax, dword [esp + 0x10]
cmp eax, esi
jne 0x4003f280
push dword [esp + 0xa0]
mov ecx, ebp
call fcn.400353a0
mov dword [ebp + 8], eax
mov ecx, dword [esp + 0xb0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xac
ret 8
call fcn.40006c11
xor eax, eax
jmp 0x4003f4c4