Function at 0x4213d0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x80
mov dword [esp + 0x64], 0x100
mov edx, dword [esp + 0x88]
push ebx
mov dword [esp + 0x6c], 0x200
mov eax, dword [esp + 0x88]
push esi
mov dword [esp + 0x74], 0x400
movsx ecx, word [edx]
push edi
push ebp
lea ebx, [ecx + ecx*2]
mov ecx, dword [eax + 0xfe]
mov ebx, dword [ecx + ebx*8 + 0x14]
mov ecx, dword [edx + 2]
mov eax, ecx
shl ecx, 3
sub ecx, eax
mov eax, dword [esp + 0x94]
shl ecx, 5
test byte [eax + 8], 1
lea esi, [ebx + ecx]
je 0x421441
test byte [esp + 0xa4], 0x80
jne 0x421441
mov dword [esp + 0x30], 0
jmp 0x421449
mov dword [esp + 0x30], 1
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
mov eax, dword [eax + 4]
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
mov word [edx + 6], 0
cmp word [esi + 0xda], 0
jle 0x421d7c
mov edx, dword [esp + 0x98]
lea ecx, [esp + 0x34]
movsx eax, word [edx + 6]
shl eax, 4
mov edx, dword [esp + 0x94]
add eax, dword [esi + 0xdc]
mov dword [esp + 0x28], eax
push eax
push esi
push ecx
push edx
call fcn.00420b40
lea ecx, [esp + 0x44]
mov edx, dword [esp + 0xa4]
add esp, 0x10
push ecx
push edx
call fcn.00420ca0
add esp, 8
cmp dword [esp + 0x30], 0
je 0x421512
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x38], eax
jle 0x421512
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x9c]
push eax
mov edx, dword [ecx + 8]
mov eax, dword [esp + 0x48]
push edx
push eax
mov edx, dword [ecx]
lea eax, [esp + 0x8c]
push edx
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esp + 0xa0]
lea edx, [esp + 0x80]
mov eax, dword [esp + 0x94]
push ecx
push edx
mov ecx, dword [eax + 0x38]
push ecx
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x44], eax
sub eax, dword [esp + 0x38]
mov dword [esp + 0x60], eax
cmp dword [edx + 4], ecx
jle 0x42153f
lea edx, [esp + 0x34]
mov edi, dword [esp + 0x9c]
jmp 0x42154a
mov edx, dword [esp + 0x9c]
lea edi, [esp + 0x34]
mov eax, dword [edi + 4]
cmp dword [edx + 0xc], eax
jg 0x42156a
lea eax, [esp + 0x64]
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetRect]
jmp 0x421d5e
mov dword [esp + 0x68], eax
mov eax, dword [edi + 0xc]
mov ecx, dword [edx + 0xc]
cmp eax, ecx
jl 0x42157a
mov eax, ecx
mov dword [esp + 0x70], eax
mov eax, dword [edi]
mov ecx, dword [edx]
cmp eax, ecx
jl 0x421588
mov eax, ecx
mov dword [esp + 0x64], eax
mov eax, dword [edi + 8]
mov ecx, dword [edx + 8]
cmp eax, ecx
jg 0x421598
mov eax, ecx
cmp dword [esp + 0x30], 0
mov dword [esp + 0x6c], eax
je 0x4215c1
mov eax, dword [esp + 0xa0]
lea ecx, [esp + 0x64]
mov edx, dword [esp + 0x94]
push eax
push ecx
mov eax, dword [edx + 0x38]
push eax
call dword [sym.imp.USER32.dll_FillRect]
mov word [esp + 0x12], 0
movsx eax, word [esp + 0x12]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + eax*4 + 0x74]
mov eax, dword [esp + 0x98]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x48], ecx
mov cx, word [edx + 0xc]
mov word [eax + 8], cx
movsx edx, word [edx + 0xc]
movsx eax, word [ebx + 0xe]
movsx ecx, cx
add edx, eax
cmp edx, ecx
jle 0x421d4d
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x94]
movsx edi, word [edx + 8]
mov ecx, dword [eax + 0x24]
mov ebx, 0xf
lea edi, [edi + edi*2]
shl edi, 2
add edi, dword [esi + 0xd6]
cmp ecx, 0x64
movsx eax, word [edi]
jne 0x421634
add eax, 7
jmp 0x421642
add eax, 7
cdq
idiv ebx
imul eax, ecx
mov ebx, 0x64
cdq
idiv ebx
add eax, dword [esp + 0x34]
mov ebx, 0xf
mov dword [esp + 0x2c], eax
cmp ecx, 0x64
movsx eax, word [edi + 2]
jne 0x421660
add eax, 7
jmp 0x42166e
add eax, 7
cdq
idiv ebx
imul eax, ecx
mov ebx, 0x64
cdq
idiv ebx
add eax, dword [esp + 0x38]
cmp ecx, 0x64
mov dword [esp + 0x4c], eax
jne 0x421695
xor eax, eax
mov ebx, 0xf
mov ax, word [edi + 4]
movsx ecx, word [edi]
lea eax, [eax + ecx + 7]
cdq
idiv ebx
jmp 0x4216b5
xor eax, eax
mov ebx, 0xf
mov ax, word [edi + 4]
movsx edx, word [edi]
lea eax, [eax + edx + 7]
cdq
idiv ebx
imul eax, ecx
cdq
mov ecx, 0x64
idiv ecx
mov ecx, dword [esp + 0x60]
add ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x38]
add ecx, eax
mov eax, dword [esp + 0x3c]
push ecx
push eax
lea ecx, [esp + 0x5c]
push edx
push ecx
call dword [sym.imp.USER32.dll_SetRect]
mov word [esp + 0x16], 0
mov word [esp + 0x14], 0
xor cx, cx
cmp word [esi + 0xce], cx
jle 0x42172b
mov dx, word [edi + 8]
mov ebx, dword [esi + 0xd0]
movsx eax, cx
lea eax, [eax + eax*2]
lea ebp, [ebx + eax*8]
mov ax, word [ebp + 0x12]
cmp dx, ax
jl 0x421720
movsx ebp, word [ebp + 0x14]
movsx eax, ax
add ebp, eax
movsx eax, dx
cmp ebp, eax
jg 0x42172e
inc cx
cmp word [esi + 0xce], cx
jg 0x4216fe
xor cx, cx
mov word [esp + 0x10], 0
cmp word [edi + 0xa], 0
jle 0x421bca
xor bx, bx
cmp word [esi + 0xce], bx
jle 0x421790
mov dx, word [edi + 8]
mov eax, dword [esi + 0xd0]
add dx, word [esp + 0x10]
mov dword [esp + 0x18], eax
movsx ebp, bx
mov eax, dword [esp + 0x18]
lea ebp, [ebp + ebp*2]
cmp dx, word [eax + ebp*8 + 0x12]
lea eax, [eax + ebp*8]
jl 0x421785
movsx ebp, word [eax + 0x14]
movsx eax, word [eax + 0x12]
add ebp, eax
movsx eax, dx
cmp ebp, eax
jg 0x4217ad
inc bx
cmp bx, word [esi + 0xce]
jl 0x42175f
mov word [esp + 0x24], 0
cmp word [esp + 0x24], cx
jne 0x4217b4
inc word [esp + 0x10]
inc word [esp + 0x16]
jmp 0x421bbb
mov word [esp + 0x24], bx
jmp 0x421797
mov ax, word [edi + 8]
push 3
add ax, word [esp + 0x18]
mov ecx, dword [esp + 0x98]
push eax
push esi
push ecx
call fcn.0041fbe0
mov dword [esp + 0x2c], 0
mov ax, word [edi + 8]
add esp, 0x10
xor bp, bp
add ax, word [esp + 0x14]
mov word [esp + 0x20], ax
cmp word [esp + 0x16], bp
jle 0x421983
xor dx, dx
cmp word [esi + 0xce], dx
jle 0x421845
mov ax, word [esp + 0x20]
mov ecx, dword [esi + 0xd0]
add ax, bp
mov word [esp + 0x18], ax
movsx eax, dx
lea eax, [eax + eax*2]
lea ebx, [ecx + eax*8]
mov ax, word [ebx + 0x12]
cmp word [esp + 0x18], ax
jl 0x42183a
movsx ebx, word [ebx + 0x14]
movsx eax, ax
add ebx, eax
movsx eax, word [esp + 0x18]
cmp ebx, eax
jg 0x421848
inc dx
cmp word [esi + 0xce], dx
jg 0x421814
xor dx, dx
movsx ecx, dx
mov eax, dword [esi + 0xd0]
lea edx, [ecx + ecx*2]
cmp word [eax + edx*8 + 0x16], 0
jge 0x421878
mov ax, word [esp + 0x20]
push 6
add ax, bp
mov ecx, dword [esp + 0x98]
push eax
push esi
push ecx
call fcn.0041fbe0
add esp, 0x10
mov ax, word [esp + 0x20]
add ax, bp
mov word [esp + 0x18], ax
mov eax, dword [esp + 0x18]
push eax
push esi
call fcn.0041c8f0
movsx ecx, ax
add esp, 8
lea ecx, [ecx + ecx*2]
shl ecx, 3
add ecx, dword [esi + 0xd0]
test byte [ecx + 1], 0x80
je 0x4218bc
mov eax, dword [esp + 0x94]
test byte [eax + 8], 8
jne 0x4218bc
xor eax, eax
jmp 0x421972
mov eax, dword [esi + 0xca]
movsx ebx, word [esp + 0x18]
cmp byte [eax + ebx], 9
jne 0x421910
mov eax, dword [esp + 0x18]
push eax
push esi
call fcn.0041c950
add esp, 8
push eax
push esi
call fcn.0041c600
add esp, 8
movsx ebx, word [eax]
push ebx
push esi
call fcn.0041ff50
add esp, 8
sub eax, ebx
mov ecx, eax
mov ebx, 0xf
lea eax, [ecx + 7]
cdq
idiv ebx
test eax, eax
jne 0x421972
test ecx, ecx
je 0x421972
mov eax, 1
jmp 0x421972
mov ax, word [ecx + 0x16]
mov ecx, dword [esp + 0x94]
push eax
push ecx
call fcn.0041d150
mov ecx, dword [esi + 0xca]
add esp, 8
add eax, 0x44
mov cl, byte [ecx + ebx]
cmp byte [eax + 0x12], cl
ja 0x42196f
xor ebx, ebx
mov dl, byte [eax + 0x12]
mov dword [esp + 0x18], 0
mov bx, word [eax + 0xc]
mov byte [esp + 0x18], dl
add ebx, dword [esp + 0x18]
mov dword [esp + 0x18], 0
mov byte [esp + 0x18], cl
cmp ebx, dword [esp + 0x18]
jle 0x42196f
sub cl, dl
mov eax, dword [eax + 0xe]
xor edx, edx
mov dl, cl
mov eax, dword [eax + edx*4]
jmp 0x421972
mov eax, dword [eax + 8]
inc bp
add dword [esp + 0x1c], eax
cmp word [esp + 0x16], bp
jg 0x4217f5
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x98]
add eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x16]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x48]
mov cx, word [edi + 8]
push eax
add cx, word [esp + 0x18]
push ebx
movsx eax, cx
mov word [edx + 0xa], cx
lea ecx, [esp + 0x58]
add eax, dword [esi + 0xca]
mov edx, dword [esp + 0x54]
push eax
push ecx
mov eax, dword [esp + 0x3c]
push edx
push eax
mov eax, dword [esp + 0xac]
add eax, 0xe6
push eax
mov eax, dword [esp + 0xb0]
push eax
call fcn.004203d0
mov dword [esp + 0x3c], 0
mov ax, word [edi + 8]
add esp, 0x20
xor bx, bx
add ax, word [esp + 0x14]
mov word [esp + 0x20], ax
cmp word [esp + 0x16], bx
jle 0x421b95
xor dx, dx
cmp word [esi + 0xce], dx
jle 0x421a57
mov ax, word [esp + 0x20]
mov ecx, dword [esi + 0xd0]
add ax, bx
mov word [esp + 0x18], ax
movsx eax, dx
lea ebp, [eax + eax*2]
lea eax, [ecx + ebp*8]
mov bp, word [eax + 0x12]
cmp word [esp + 0x18], bp
jl 0x421a4c
movsx eax, word [eax + 0x14]
movsx ebp, bp
add eax, ebp
movsx ebp, word [esp + 0x18]
cmp eax, ebp
jg 0x421a5a
inc dx
cmp dx, word [esi + 0xce]
jl 0x421a26
xor dx, dx
movsx eax, dx
mov ecx, dword [esi + 0xd0]
lea edx, [eax + eax*2]
cmp word [ecx + edx*8 + 0x16], 0
jge 0x421a8a
mov ax, word [esp + 0x20]
push 6
add ax, bx
mov ecx, dword [esp + 0x98]
push eax
push esi
push ecx
call fcn.0041fbe0
add esp, 0x10
mov ax, word [esp + 0x20]
add ax, bx
mov word [esp + 0x18], ax
mov eax, dword [esp + 0x18]
push eax
push esi
call fcn.0041c8f0
movsx ecx, ax
add esp, 8
lea ecx, [ecx + ecx*2]
shl ecx, 3
add ecx, dword [esi + 0xd0]
test byte [ecx + 1], 0x80
je 0x421ace
mov eax, dword [esp + 0x94]
test byte [eax + 8], 8
jne 0x421ace
xor eax, eax
jmp 0x421b84
mov eax, dword [esi + 0xca]
movsx ebp, word [esp + 0x18]
cmp byte [eax + ebp], 9
jne 0x421b22
mov eax, dword [esp + 0x18]
push eax
push esi
call fcn.0041c950
add esp, 8
push eax
push esi
call fcn.0041c600
add esp, 8
movsx ebp, word [eax]
push ebp
push esi
call fcn.0041ff50
add esp, 8
mov ecx, eax
sub ecx, ebp
mov ebp, 0xf
lea eax, [ecx + 7]
cdq
idiv ebp
test eax, eax
jne 0x421b84
test ecx, ecx
je 0x421b84
mov eax, 1
jmp 0x421b84
mov ax, word [ecx + 0x16]
mov ecx, dword [esp + 0x94]
push eax
push ecx
call fcn.0041d150
mov ecx, dword [esi + 0xca]
add esp, 8
add eax, 0x44
mov cl, byte [ecx + ebp]
cmp cl, byte [eax + 0x12]
jb 0x421b81
xor ebp, ebp
mov dl, byte [eax + 0x12]
mov dword [esp + 0x18], 0
mov bp, word [eax + 0xc]
mov byte [esp + 0x18], dl
add ebp, dword [esp + 0x18]
mov dword [esp + 0x18], 0
mov byte [esp + 0x18], cl
cmp ebp, dword [esp + 0x18]
jle 0x421b81
sub cl, dl
mov eax, dword [eax + 0xe]
xor edx, edx
mov dl, cl
mov eax, dword [eax + edx*4]
jmp 0x421b84
mov eax, dword [eax + 8]
inc bx
add dword [esp + 0x1c], eax
cmp word [esp + 0x16], bx
jg 0x421a07
mov cx, word [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov dx, word [esp + 0x16]
add dword [esp + 0x2c], eax
mov word [esp + 0x16], 0
add word [esp + 0x14], dx
mov eax, dword [esp + 0x58]
mov dword [esp + 0x50], eax
mov ax, word [esp + 0x10]
cmp word [edi + 0xa], ax
jg 0x421740
cmp word [esp + 0x16], 0
je 0x421d23
mov ax, word [edi + 8]
push 3
add ax, word [esp + 0x18]
mov ecx, dword [esp + 0x98]
push eax
push esi
xor bp, bp
push ecx
call fcn.0041fbe0
mov dword [esp + 0x34], 0
mov bx, word [edi + 8]
add esp, 0x10
add bx, word [esp + 0x14]
cmp word [esp + 0x16], bp
jle 0x421cc1
xor cx, cx
cmp word [esi + 0xce], cx
jle 0x421c67
mov eax, dword [esi + 0xd0]
mov dword [esp + 0x18], eax
movsx edx, cx
mov eax, dword [esp + 0x18]
lea edx, [edx + edx*2]
lea eax, [eax + edx*8]
lea edx, [ebp + ebx]
cmp dx, word [eax + 0x12]
jl 0x421c5c
movsx edx, word [eax + 0x14]
movsx eax, word [eax + 0x12]
mov dword [esp + 0x20], edx
lea edx, [ebp + ebx]
add dword [esp + 0x20], eax
movsx eax, dx
cmp dword [esp + 0x20], eax
jg 0x421c6a
inc cx
cmp cx, word [esi + 0xce]
jl 0x421c28
xor cx, cx
movsx eax, cx
mov ecx, dword [esi + 0xd0]
lea edx, [eax + eax*2]
cmp word [ecx + edx*8 + 0x16], 0
jge 0x421c98
mov ax, bx
push 6
add ax, bp
mov ecx, dword [esp + 0x98]
push eax
push esi
push ecx
call fcn.0041fbe0
add esp, 0x10
mov ax, bx
mov ecx, dword [esp + 0x94]
add ax, bp
inc bp
push eax
push esi
push ecx
call fcn.0041fdf0
add dword [esp + 0x30], eax
add esp, 0xc
cmp word [esp + 0x16], bp
jg 0x421c12
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x98]
add eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x16]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x48]
mov cx, word [edi + 8]
push eax
add cx, word [esp + 0x18]
push ebx
mov word [edx + 0xa], cx
lea edx, [esp + 0x58]
movsx ecx, cx
mov eax, dword [esi + 0xca]
add eax, ecx
mov ecx, dword [esp + 0x54]
push eax
push edx
mov eax, dword [esp + 0x3c]
push ecx
push eax
mov eax, dword [esp + 0xac]
add eax, 0xe6
push eax
mov eax, dword [esp + 0xb0]
push eax
call fcn.004203d0
add esp, 0x20
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x28]
mov cx, word [edx + 8]
inc cx
mov word [edx + 8], cx
movsx edx, word [eax + 0xc]
movsx ebx, word [eax + 0xe]
movsx eax, cx
add edx, ebx
cmp edx, eax
jg 0x421601
inc word [esp + 0x12]
cmp word [esp + 0x12], 3
jl 0x4215c8
mov edx, dword [esp + 0x98]
mov ax, word [edx + 6]
inc ax
mov word [edx + 6], ax
cmp word [esi + 0xda], ax
jg 0x421476
cmp dword [esp + 0x30], 0
je 0x421dd6
mov eax, dword [esp + 0x9c]
mov eax, dword [eax + 0xc]
cmp eax, dword [esp + 0x40]
jle 0x421dd6
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 8]
push ecx
push edx
mov ecx, dword [eax]
lea edx, [esp + 0x8c]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esp + 0xa0]
lea edx, [esp + 0x80]
mov eax, dword [esp + 0x94]
push ecx
push edx
mov ecx, dword [eax + 0x38]
push ecx
call dword [sym.imp.USER32.dll_FillRect]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x80
ret