Function at 0x45cd20
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x4b5dc1
mov eax, dword fs:[0]
push eax
mov eax, 0x16618
call fcn.004a4490
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x16614], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ca3b0]
xor eax, esp
push eax
lea eax, [esp + 0x1662c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1663c]
mov esi, ecx
xor ebp, ebp
push esi
lea ecx, [esp + 0x9b2c]
mov dword [esp + 0x1c], esi
mov ebx, edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebp
call fcn.0040dd20
mov dword [esp + 0x16634], ebp
push esi
lea ecx, [esp + 0x6c]
call fcn.0040dd20
mov byte [esp + 0x16634], 1
push edi
push ebx
lea ecx, [esp + 0x9b30]
call fcn.00430a00
mov edx, dword [str.fixed.]
xor eax, eax
xor ecx, ecx
mov word [esp + 0x13e00], ax
mov ax, word [0x4bbe58]
mov word [esp + 0x14614], cx
mov cl, byte [0x4bbe5a]
push ebx
mov byte [esp + 0x9b3d], 1
mov dword [esp + 0x139f8], edx
mov word [esp + 0x139fc], ax
mov byte [esp + 0x139fe], cl
call fcn.00451530
mov esi, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45ce00
lea edi, [esp + 0x139f4]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x45ce11
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
lea edx, [esp + 0x139f8]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call fcn.004525d0
mov eax, dword [str.rebuilt.]
mov ecx, dword [0x4bbe4c]
mov dl, byte [0x4bbe50]
push ebx
mov dword [esp + 0x135ec], eax
mov dword [esp + 0x135f0], ecx
mov byte [esp + 0x135f4], dl
call fcn.00451530
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45ce63
lea edi, [esp + 0x135e8]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x45ce74
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x4b879c
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call fcn.00451950
test al, al
jne 0x45cea8
push 0x4b8798
push ebx
call fcn.00451950
test al, al
je 0x45ceba
push 0x4b8794
lea eax, [esp + 0x135ec]
push eax
call fcn.004534d0
push ebp
lea ecx, [esp + 0x135ec]
push ecx
call fcn.004525d0
mov edx, dword [esp + 0x2c]
cmp word [edx], bp
je 0x45cfea
xor eax, eax
jmp 0x45cee0
movzx ecx, word [eax + 0x4bbe38]
mov word [esp + eax + 0x14614], cx
add eax, 2
cmp cx, bp
jne 0x45cee0
push edx
call fcn.004515b0
mov edx, eax
nop
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x45cf00
lea edi, [esp + 0x14614]
sub eax, edx
add edi, 0xfffffffe
jmp 0x45cf20
mov cx, word [edi + 2]
add edi, 2
cmp cx, bp
jne 0x45cf20
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
lea edx, [esp + 0x14618]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call fcn.004510a0
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + 0x4bbe24]
mov word [esp + eax + 0x13e00], cx
add eax, 2
cmp cx, bp
jne 0x45cf50
mov ebx, dword [esp + 0x2c]
push ebx
call fcn.004515b0
mov edx, eax
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x45cf73
lea edi, [esp + 0x13e00]
sub eax, edx
add edi, 0xfffffffe
lea ebx, [ebx]
mov cx, word [edi + 2]
add edi, 2
cmp cx, bp
jne 0x45cf90
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x4b8dcc
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call fcn.004519a0
test al, al
jne 0x45cfca
push 0x4b8dc4
push ebx
call fcn.004519a0
test al, al
je 0x45cfdc
push 0x4b8dfc
lea eax, [esp + 0x13e04]
push eax
call fcn.00453570
push ebp
lea ecx, [esp + 0x13e04]
push ecx
call fcn.004510a0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3924]
push ebp
push 0x7fffffff
push 0x7fffffff
lea edx, [esp + 0x22]
push edx
push ecx
lea edx, [esp + 0x14628]
push edx
lea ecx, [esp + 0x13a0c]
push ecx
lea edx, [esp + 0x84]
push edx
push eax
call fcn.0042fd60
test al, al
jne 0x45d086
cmp byte [esp + 0x16], al
jne 0x45d053
push 9
mov ecx, 0x4d56b4
call fcn.00428c10
lea eax, [esp + 0x14614]
push eax
lea ecx, [esp + 0x139f8]
push ecx
mov ecx, 0x4d56b4
call fcn.00429570
mov bl, byte [esp + 0x16]
mov byte [esp + 0x16634], 0
lea ecx, [esp + 0x68]
call fcn.00402280
mov dword [esp + 0x16634], 0xffffffff
lea ecx, [esp + 0x9b28]
call fcn.00402280
mov al, bl
jmp 0x45d9a3
lea edx, [esp + 0x14614]
push edx
push 0x267
call fcn.00460a30
push eax
lea eax, [esp + 0x14e30]
push eax
mov edx, 0x600
call fcn.0046b810
add esp, 0xc
lea ecx, [esp + 0x14e28]
push ecx
call fcn.00485490
lea edx, [esp + 0x68]
push edx
lea ebx, [esp + 0x9b2c]
call fcn.0045bf50
cmp eax, 2
jne 0x45d0df
lea ecx, [esp + 0x68]
call fcn.00430130
jmp 0x45d979
cmp eax, 1
jne 0x45d12b
lea ecx, [esp + 0x68]
call fcn.00430130
mov eax, dword [esp + 0x18]
xor ebp, ebp
cmp byte [eax + 0x3968], 0
jne 0x45d13a
push 0x24
push 0x262
call fcn.00460a30
push eax
push 0x275
call fcn.00460a30
mov ecx, dword [0x4e7b84]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x45d13a
jmp 0x45d979
test eax, eax
jne 0x45d138
lea ecx, [esp + 0x68]
call fcn.004301e0
xor ebp, ebp
push ebp
push ebp
push ebp
lea ecx, [esp + 0x9b34]
call fcn.00430a90
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3924]
push ebp
push 0x7fffffff
push 0x7fffffff
lea edx, [esp + 0x22]
push edx
push ecx
lea edx, [esp + 0x13e14]
push edx
lea ecx, [esp + 0x13600]
push ecx
lea edx, [esp + 0x84]
push edx
push eax
call fcn.0042fd60
test al, al
jne 0x45d1bf
cmp byte [esp + 0x16], al
jne 0x45d1b7
push 9
mov ecx, 0x4d56b4
call fcn.00428c10
lea eax, [esp + 0x13e00]
push eax
lea ecx, [esp + 0x135ec]
push ecx
mov ecx, 0x4d56b4
call fcn.00429570
cmp byte [esp + 0x16], 0
sete bl
jmp 0x45d057
lea ecx, [esp + 0x9b28]
call fcn.00430400
mov edi, edx
lea edx, [esp + 0x13e00]
push edx
push 0x267
mov esi, eax
call fcn.00460a30
push eax
lea eax, [esp + 0x14e30]
push eax
mov edx, 0x600
call fcn.0046b810
add esp, 0xc
lea ecx, [esp + 0x14e28]
push ecx
call fcn.00485490
push ebp
lea ecx, [esp + 0x9b2c]
mov byte [esp + 0x1b], 0
call fcn.0040b860
test al, al
je 0x45d269
cmp byte [esp + 0x129b8], 0
mov dx, word [esp + 0x102c4]
mov ax, word [esp + 0x102c6]
mov byte [esp + 0x17], 1
mov word [esp + 0x6804], dx
mov word [esp + 0x6806], ax
je 0x45d269
push 0x272
call fcn.00460a30
push eax
lea ecx, [esp + 0x9f44]
push ecx
call fcn.00492ce0
add esp, 8
jmp 0x45d979
mov eax, dword [esp + 0x6804]
push ebp
xor edx, edx
and eax, 0xffffff9f
push 0x72
lea ecx, [esp + 0x70]
mov dword [esp + 0x6814], ebp
mov word [esp + 0x6810], dx
mov word [esp + 0x680c], ax
call fcn.0040bdf0
push ebp
push 0x73
lea ecx, [esp + 0x70]
call fcn.0040bdf0
mov ecx, dword [esp + 0x129a8]
mov edx, dword [esp + 0x129ac]
add ecx, 0xd
push ebp
adc edx, ebp
push edx
push ecx
lea ecx, [esp + 0x9b34]
call fcn.00430a90
movzx eax, word [esp + 0x6806]
sub eax, 0xd
cdq
push edx
push eax
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x9b34]
call fcn.00430ed0
push ebp
push ebp
push ebp
lea ecx, [esp + 0x9b34]
call fcn.00430a90
push 0x10000
call fcn.004a3d3c
mov ebx, eax
add esp, 4
mov dword [esp + 0x48], ebx
cmp ebx, ebp
jne 0x45d315
mov ecx, 0x4d56b4
call fcn.00428da0
mov eax, 0x10000
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov byte [esp + 0x16634], 2
push eax
push ebx
lea ecx, [esp + 0x9b30]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
call fcn.00430da0
sub esi, 0x20
sbb edi, ebp
mov dword [esp + 0x30], 0xf000
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], edi
lea esp, [esp]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push 0
push 0xf000
push ecx
push edx
call fcn.004a66c0
mov esi, eax
add esi, dword [esp + 0x48]
movzx ecx, byte [esi + 2]
lea eax, [esi + 2]
mov dword [esp + 0x681c], ecx
movzx edx, byte [esi + 5]
mov dword [esp + 0x44], eax
movzx eax, byte [esi + 6]
shl eax, 8
add eax, edx
mov word [esp + 0x6822], ax
movzx edx, byte [esi + 0x1b]
movzx edi, byte [esi + 0x1a]
shl edx, 8
add edx, edi
mov word [esp + 0x683a], dx
cmp ecx, 0x74
jne 0x45d817
mov ecx, 0x1000
cmp ax, cx
jae 0x45d817
mov edx, dword [esp + 0x683a]
dec edx
mov eax, 0x3fe
cmp dx, ax
ja 0x45d817
movzx ecx, byte [esi + 1]
movzx edx, byte [esi]
shl ecx, 8
add ecx, edx
mov word [esp + 0x6818], cx
movzx eax, byte [esi + 4]
movzx ecx, byte [esi + 3]
shl eax, 8
add eax, ecx
mov word [esp + 0x6820], ax
movzx edi, byte [esi + 0xa]
movzx edx, byte [esi + 9]
movzx eax, byte [esi + 8]
movzx ecx, byte [esi + 7]
shl edi, 8
add edi, edx
shl edi, 8
add edi, eax
shl edi, 8
add edi, ecx
mov dword [esp + 0x6824], edi
movzx ebx, byte [esi + 0xe]
movzx edx, byte [esi + 0xd]
movzx eax, byte [esi + 0xc]
movzx ecx, byte [esi + 0xb]
shl ebx, 8
add ebx, edx
shl ebx, 8
add ebx, eax
shl ebx, 8
add ebx, ecx
mov dword [esp + 0x6828], ebx
movzx edx, byte [esi + 0xf]
mov byte [esp + 0x682c], dl
movzx eax, byte [esi + 0x13]
movzx ecx, byte [esi + 0x12]
movzx edx, byte [esi + 0x11]
shl eax, 8
add eax, ecx
movzx ecx, byte [esi + 0x10]
shl eax, 8
add eax, edx
shl eax, 8
add eax, ecx
mov dword [esp + 0x6830], eax
movzx edx, byte [esi + 0x17]
movzx eax, byte [esi + 0x16]
movzx ecx, byte [esi + 0x15]
shl edx, 8
add edx, eax
movzx eax, byte [esi + 0x14]
shl edx, 8
add edx, ecx
shl edx, 8
add edx, eax
mov dword [esp + 0x6834], edx
mov cl, byte [esi + 0x18]
mov byte [esp + 0x6838], cl
movzx edx, byte [esi + 0x19]
mov byte [esp + 0x6839], dl
movzx eax, byte [esi + 0x1f]
movzx ecx, byte [esi + 0x1e]
movzx edx, byte [esi + 0x1d]
shl eax, 8
add eax, ecx
movzx ecx, byte [esi + 0x1c]
shl eax, 8
add eax, edx
shl eax, 8
add eax, ecx
mov dword [esp + 0x683c], eax
mov eax, dword [esp + 0x6820]
and eax, 0x100
mov dword [esp + 0x40], eax
je 0x45d54c
movzx eax, byte [esi + 0x23]
movzx edx, byte [esi + 0x22]
movzx ecx, byte [esi + 0x21]
shl eax, 8
add eax, edx
movzx edx, byte [esi + 0x20]
shl eax, 8
add eax, ecx
shl eax, 8
add eax, edx
mov dword [esp + 0x6840], eax
movzx ebp, byte [esi + 0x27]
movzx ecx, byte [esi + 0x26]
movzx edx, byte [esi + 0x25]
shl ebp, 8
add ebp, ecx
movzx ecx, byte [esi + 0x24]
shl ebp, 8
add ebp, edx
shl ebp, 8
add ebp, ecx
mov dword [esp + 0x6844], ebp
jmp 0x45d55e
xor ebp, ebp
xor eax, eax
mov dword [esp + 0x6844], ebp
mov dword [esp + 0x6840], eax
push 1
push 0
push 0
push eax
call fcn.004a4ac0
xor ecx, ecx
push 1
push ecx
add eax, edi
push ecx
adc edx, ecx
push ebp
mov dword [esp + 0x7500], eax
mov dword [esp + 0x7504], edx
call fcn.004a4ac0
xor ecx, ecx
add eax, ebx
adc edx, ecx
mov dword [esp + 0x74f8], eax
mov dword [esp + 0x74fc], edx
lea eax, [ecx + 0x20]
cmp word [esp + 0x40], cx
je 0x45d5ab
mov eax, 0x28
movzx edx, word [esp + 0x683a]
push edx
add eax, esi
push eax
lea eax, [esp + 0x6850]
push eax
call fcn.004a4540
mov ecx, dword [esp + 0x682c]
add esp, 0xc
test ecx, 0x200
je 0x45d634
lea ecx, [esp + 0x54]
call fcn.00426610
lea eax, [esp + 0x6848]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45d5f0
sub eax, edx
movzx edx, word [esp + 0x683a]
push 0x400
inc eax
lea ecx, [esp + 0x6c4c]
push ecx
sub edx, eax
push edx
lea eax, [esp + eax + 0x6854]
push eax
lea ecx, [esp + 0x6858]
push ecx
lea ecx, [esp + 0x68]
call fcn.00426630
mov ecx, dword [esp + 0x6820]
jmp 0x45d63e
xor edx, edx
mov word [esp + 0x6c48], dx
mov bx, word [esp + 0x683a]
mov edi, ecx
and edi, 0x400
je 0x45d67c
mov edx, 0x20
test ecx, 0x100
je 0x45d662
mov edx, 0x28
movzx eax, bx
add eax, edx
mov edx, dword [eax + esi]
mov dword [esp + 0x7454], edx
mov eax, dword [eax + esi + 4]
mov dword [esp + 0x7458], eax
movzx eax, word [esp + 0x6822]
sub eax, 2
test eax, eax
jle 0x45d817
test byte [esp + 0x6820], 8
je 0x45d6ba
mov eax, 0x20
test ecx, 0x100
je 0x45d6ab
mov eax, 0x28
test di, di
je 0x45d6b3
add eax, 8
movzx ecx, bx
lea eax, [ecx + eax - 2]
mov edx, dword [esp + 0x44]
push eax
push edx
push 0xffffffffffffffff
call fcn.00420800
not eax
mov word [esp + 0x8f0a], ax
lea eax, [esp + 0x68]
call fcn.0045b780
test al, al
je 0x45d817
movzx eax, word [esp + 0x6822]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
cdq
add eax, edi
push 0
adc edx, esi
push edx
push eax
lea ecx, [esp + 0x9b34]
call fcn.00430a90
movzx eax, word [esp + 0x683a]
mov byte [esp + eax + 0x6848], 0
call fcn.0046afb0
cmp word [esp + 0x6c48], 0
jne 0x45d736
push 1
lea ecx, [esp + 0x684c]
push ecx
call fcn.004525d0
movzx edx, word [esp + 0x6820]
mov ecx, dword [esp + 0x6820]
and edx, 0xffffefff
or dword [esp + 0x24], edx
mov eax, 0x20
test ecx, 0x100
je 0x45d761
mov eax, 0x28
test ecx, 0x400
je 0x45d76c
add eax, 8
mov ecx, dword [esp + 0x683a]
add ecx, eax
lea edx, [esp + 0x15a28]
push edx
lea eax, [esp + 0x684c]
push eax
mov word [esp + 0x682a], cx
call sub.USER32.dll_OemToCharA
push 0x400
lea ecx, [esp + 0x15e2c]
push ecx
lea edx, [esp + 0x6c50]
push edx
lea eax, [esp + 0x15a34]
push eax
call fcn.00451460
lea ecx, [esp + 0x15e28]
push ecx
push 0x268
call fcn.00460a30
push eax
lea edx, [esp + 0x14e30]
push edx
mov edx, 0x600
call fcn.0046b810
add esp, 0xc
lea eax, [esp + 0x14e28]
push eax
call fcn.00485490
inc dword [esp + 0x28]
push 0
push 0x74
lea ecx, [esp + 0x70]
call fcn.0040bdf0
mov ecx, dword [esp + 0x6824]
push 0
push ecx
lea edx, [esp + 0x70]
push edx
lea ecx, [esp + 0x9b34]
call fcn.00430ed0
jmp 0x45d81f
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
add edi, 1
adc esi, 0
cmp esi, dword [esp + 0x3c]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], esi
jg 0x45d894
jl 0x45d83b
cmp edi, dword [esp + 0x38]
jae 0x45d894
push 0
push 0xf000
push esi
push edi
call fcn.004a66c0
or eax, edx
jne 0x45d360
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
push eax
push edi
push esi
lea ecx, [esp + 0x9b34]
call fcn.00430a90
mov eax, dword [esp + 0x48]
push 0x10000
push eax
lea ecx, [esp + 0x9b30]
call fcn.00430da0
add esi, 0xf000
adc edi, 0
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edi
jmp 0x45d360
test byte [esp + 0x24], 3
je 0x45d8ad
mov ecx, dword [esp + 0x6804]
or ecx, 1
mov word [esp + 0x6804], cx
mov esi, dword [esp + 0x28]
test esi, esi
jle 0x45d906
cmp byte [esp + 0x17], 0
jne 0x45d904
mov edx, dword [esp + 0x18]
cmp byte [edx + 0x3968], 0
jne 0x45d904
push 0x24
push 0x262
call fcn.00460a30
push eax
push 0x273
call fcn.00460a30
push eax
mov eax, dword [0x4e7b84]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x45d904
mov ecx, dword [esp + 0x6804]
or ecx, 8
mov word [esp + 0x6804], cx
test esi, esi
jne 0x45d92e
push 0x274
call fcn.00460a30
mov edx, dword [esp + 0x2c]
push eax
push edx
call fcn.00492ce0
add esp, 8
push 0xa
mov ecx, 0x4d56b4
call fcn.00428c10
jmp 0x45d960
push 0
push 0
push 0
lea ecx, [esp + 0x74]
call fcn.00430a90
push 0
push 0x72
lea ecx, [esp + 0x70]
call fcn.0040bdf0
push 0
push 0x73
lea ecx, [esp + 0x70]
call fcn.0040bdf0
lea ecx, [esp + 0x68]
call fcn.00430130
mov byte [esp + 0x16634], 1
mov eax, dword [esp + 0x48]
test eax, eax
je 0x45d979
push eax
call fcn.004a3dff
add esp, 4
mov byte [esp + 0x16634], 0
lea ecx, [esp + 0x68]
call fcn.00402280
mov dword [esp + 0x16634], 0xffffffff
lea ecx, [esp + 0x9b28]
call fcn.00402280
mov al, 1
mov ecx, dword [esp + 0x1662c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x16614]
xor ecx, esp
call fcn.004a3c63
add esp, 0x16624
ret 4