Function at 0x442820
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x540
mov eax, dword [0x4832b0]
xor eax, esp
mov dword [esp + 0x53c], eax
mov eax, dword [esp + 0x544]
push ebx
push ebp
mov ebp, dword [esp + 0x558]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x55c]
mov ebx, dword [eax]
push esi
mov esi, dword [esp + 0x558]
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 4]
push edi
mov edi, dword [esp + 0x558]
mov dword [esp + 0x48], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x28], ebx
test eax, eax
je 0x4428c1
cmp byte [eax], 0
je 0x4428c1
push 0x20
push 1
call fcn.0040c6e0
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ebx
mov dword [eax + 8], 1
mov dword [eax + 0x1c], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
push eax
mov dword [eax + 0x14], ecx
push edi
mov dword [eax + 0x18], ecx
call fcn.00442770
mov ecx, dword [ebp + 8]
push ebx
push ecx
push esi
call fcn.004413f0
add esp, 0x1c
inc ebx
mov dword [esp + 0x28], ebx
cmp dword [ebp + 4], 0
jne 0x44291c
cmp dword [ebp + 8], 0
je 0x44291c
push 0x20
push 1
call fcn.0040c6e0
mov edi, eax
mov dword [edi], 0
mov dword [edi + 4], ebx
mov dword [edi + 8], 1
mov edx, dword [ebp + 8]
push edx
call fcn.0040c9d0
mov dword [edi + 0x1c], eax
xor eax, eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x54]
push edi
push eax
call fcn.00442770
push ebx
push esi
call fcn.00441990
add esp, 0x1c
inc ebx
mov dword [esp + 0x28], ebx
xor eax, eax
cmp dword [ebp + 0x10], eax
mov ecx, 9
lea edi, [esp + 0xbc]
mov dword [esp + 0x1c], 1
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
jle 0x4430f8
lea ecx, [esp + 0x2fc]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x18]
mov ecx, dword [esp + 0x30]
mov ebp, dword [eax + ecx*4]
mov eax, dword [ebp]
cmp eax, 6
jne 0x442a7e
mov eax, dword [esp + 0x1c]
cmp eax, 1
jne 0x442a32
mov edx, dword [ebp + 0x1c]
cmp edx, eax
mov dword [esp + 0x1c], edx
jle 0x4429ac
lea eax, [esp + 0xe0]
dec edx
lea ebx, [ebx]
mov edi, eax
mov ecx, 9
lea esi, [esp + 0xbc]
add eax, 0x24
sub edx, 1
rep movsd dword es:[edi], dword [esi]
jne 0x442990
mov edx, dword [esp + 0x1c]
xor eax, eax
test edx, edx
jle 0x4430e2
mov edx, dword [ebp + 0x20]
mov ecx, dword [esp + 0x1c]
lea esi, [esp + 0xcc]
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], ecx
lea esp, [esp]
mov ebp, dword [esi]
mov edx, dword [esp + 0x10]
mov edi, dword [edx]
add ebp, 3
add edi, eax
mov ecx, ebp
imul ebp, edi
imul ecx, eax
mov eax, 0x51eb851f
imul ecx
mov ebx, dword [esi + 4]
sar edx, 5
mov ecx, edx
add dword [esp + 0x10], 4
shr ecx, 0x1f
add ecx, edx
mov eax, 0x51eb851f
imul ebp
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, ebx
add ecx, ebx
sub eax, ecx
sub eax, 3
mov dword [esi], eax
mov dword [esi + 4], ecx
add esi, 0x24
sub dword [esp + 0x24], 1
mov eax, edi
jne 0x4429d0
mov ebx, dword [esp + 0x28]
jmp 0x4430e2
cmp eax, 1
mov edx, dword [esp + 0xc8]
jle 0x442a58
lea ecx, [esp + 0xec]
lea esi, [eax - 1]
mov eax, dword [ecx]
cmp edx, eax
jge 0x442a50
mov edx, eax
add ecx, 0x24
sub esi, 1
jne 0x442a48
mov esi, dword [esp + 0x20]
mov ecx, 9
lea edi, [esp + 0xbc]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x1c], 1
mov dword [esp + 0xc8], edx
jmp 0x4430e2
cmp eax, 9
jne 0x442ac0
mov ecx, dword [esp + 0x2c]
mov ebp, dword [ebp + 0x1c]
xor eax, eax
test ecx, ecx
jle 0x442a9b
cmp dword [esp + eax*4 + 0x7c], ebp
je 0x442a9b
inc eax
cmp eax, ecx
jl 0x442a90
lea esi, [eax + eax*8]
or eax, 0xffffffff
lea esi, [esp + esi*4 + 0x2fc]
mov ecx, 9
lea edi, [esp + 0x4c]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x24], eax
mov dword [esp + 0x44], eax
jmp 0x442b6f
mov ecx, dword [ebp + 0xc]
mov eax, ecx
sar ecx, 0x10
and eax, 0xffff
and ecx, 0xffff
inc ecx
lea edx, [eax + eax*8]
add edx, edx
mov dword [esp + 0x24], ecx
add edx, edx
lea esi, [esp + edx + 0xbc]
mov ecx, 9
lea edi, [esp + 0x4c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x24]
add ecx, eax
lea esi, [ecx + ecx*8]
add esi, esi
add esi, esi
mov edi, dword [esp + esi + 0xa8]
add edi, dword [esp + esi + 0xac]
mov dword [esp + 0x44], eax
sub edi, dword [esp + edx + 0xd0]
cmp eax, ecx
mov dword [esp + 0x5c], edi
jge 0x442b3c
lea edx, [esp + edx + 0xc8]
sub ecx, eax
mov eax, dword [edx]
cmp dword [esp + 0x58], eax
jge 0x442b34
mov dword [esp + 0x58], eax
add edx, 0x24
sub ecx, 1
jne 0x442b28
cmp dword [ebp + 8], 0
je 0x442b6f
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x40]
mov edi, edx
mov dword [esp + eax*4 + 0x7c], ebp
inc eax
mov ecx, 9
lea esi, [esp + 0x4c]
add edx, 0x24
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x4c], 0
xor eax, eax
mov dword [esp + 0x53c], eax
mov dword [esp + 0x540], eax
mov dword [esp + 0x544], eax
mov dword [esp + 0x548], eax
mov eax, dword [ebp]
xor edi, edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
cmp eax, 8
ja case.0x442ba3.6
jmp dword [eax*4 + 0x44315c]
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x78]
push edx
mov edx, dword [ecx]
push eax
push edx
lea eax, [esp + 0x58]
push eax
mov edi, 1
call fcn.00441760
push 0
mov esi, eax
call fcn.004425b0
mov ecx, dword [esp + 0x8c]
push ebx
push ecx
push eax
lea edx, [esp + 0x6c]
push edx
mov dword [esp + 0x38], eax
call fcn.00441930
mov eax, dword [esp + 0x38]
push eax
call fcn.0040c850
push esi
call fcn.0040c850
add esp, 0x2c
jmp case.0x442ba3.6
movzx ecx, byte [ebp + 0x1c]
mov eax, dword [ebp + 4]
push ecx
mov edi, 2
call fcn.004425b0
mov dl, byte [ebp + 0x1c]
mov esi, eax
mov eax, dword [ebp + 0x20]
add esp, 4
mov byte [esp + 0x53c], dl
cmp eax, 0x64
jne 0x442c73
cmp dword [ebp + 0x28], 0
lea ecx, [esp + 0x4c]
je 0x442c52
lea eax, [ebx + 1]
push eax
push ebx
push esi
push ecx
call fcn.00441540
add esp, 0x10
push esi
call fcn.0040c850
add esp, 4
jmp case.0x442ba3.6
mov eax, dword [ebp + 0x24]
lea edx, [ebx + 1]
push edx
push ebx
push esi
push eax
push ecx
call fcn.004414a0
add esp, 0x14
push esi
call fcn.0040c850
add esp, 4
jmp case.0x442ba3.6
cmp dword [ebp + 0x28], 0
je 0x442c9b
push eax
lea edx, [ebx + 1]
push edx
push ebx
lea eax, [esp + 0x58]
push esi
push eax
call fcn.00441cf0
add esp, 0x14
push esi
call fcn.0040c850
add esp, 4
jmp case.0x442ba3.6
cmp dword [ebp + 0x24], 0
mov ecx, 0x441c00
jne 0x442cab
mov ecx, 0x441bd0
push eax
lea edx, [ebx + 1]
push edx
push ebx
lea eax, [esp + 0x58]
push esi
push eax
call ecx
add esp, 0x14
push esi
call fcn.0040c850
add esp, 4
jmp case.0x442ba3.6
movzx ecx, byte [ebp + 0x1c]
mov edi, dword [ebp + 0x24]
mov eax, dword [ebp + 4]
push ecx
inc edi
call fcn.004425b0
mov dl, byte [ebp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x24]
push 8
push eax
mov byte [esp + 0x548], dl
call fcn.0040c6e0
xor esi, esi
add esp, 0xc
cmp dword [ebp + 0x24], esi
mov dword [esp + 0x18], eax
jle 0x442d55
mov eax, dword [ebp + 0x2c]
lea ecx, [esp + 0x53d]
mov dword [esp + 0x14], ecx
test eax, eax
je 0x442d1a
movsx eax, byte [eax + esi]
jmp 0x442d1c
xor eax, eax
mov edx, dword [ebp + 0x28]
push eax
mov eax, dword [edx + esi*4]
call fcn.004425b0
mov ecx, dword [esp + 0x1c]
mov dword [ecx + esi*8], eax
lea eax, [ebx + esi + 1]
mov dword [ecx + esi*8 + 4], eax
mov eax, dword [ebp + 0x2c]
add esp, 4
test eax, eax
je 0x442d4f
mov ecx, dword [esp + 0x14]
mov dl, byte [eax + esi]
mov byte [ecx], dl
inc ecx
mov dword [esp + 0x14], ecx
inc esi
cmp esi, dword [ebp + 0x24]
jl 0x442d10
mov eax, dword [ebp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 0x20]
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push ebx
lea esi, [esp + 0x5c]
call fcn.004415d0
xor esi, esi
add esp, 0x10
cmp dword [ebp + 0x24], esi
jle 0x442d96
lea ebx, [ebx]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + esi*8]
push ecx
call fcn.0040c850
inc esi
add esp, 4
cmp esi, dword [ebp + 0x24]
jl 0x442d80
mov edx, dword [esp + 0x18]
push edx
call fcn.0040c850
mov eax, dword [esp + 0x14]
push eax
call fcn.0040c850
add esp, 8
jmp case.0x442ba3.6
movzx ecx, byte [ebp + 0x1c]
mov eax, dword [ebp + 4]
push ecx
mov edi, 1
call fcn.004425b0
mov dl, byte [ebp + 0x1c]
mov esi, eax
push ebx
lea eax, [esp + 0x54]
push esi
push eax
mov byte [esp + 0x54c], dl
call fcn.00441710
push esi
call fcn.0040c850
add esp, 0x14
jmp case.0x442ba3.6
movzx ecx, byte [ebp + 0x1c]
mov eax, dword [ebp + 4]
push ecx
call fcn.004425b0
mov dl, byte [ebp + 0x1c]
add esp, 4
cmp dword [ebp + 0x24], 0
mov esi, eax
mov byte [esp + 0x53c], dl
je 0x442e14
mov dword [esp + 0x38], 2
mov eax, dword [ebp + 0x20]
mov ecx, dword [esp + 0x38]
push eax
push ecx
lea edx, [esp + 0x54]
push esi
push edx
mov edi, 1
call fcn.00441a90
push esi
call fcn.0040c850
add esp, 0x14
jmp case.0x442ba3.6
movzx eax, byte [ebp + 0x1c]
push eax
mov eax, dword [ebp + 4]
mov edi, 2
mov dword [esp + 0x1c], edi
call fcn.004425b0
mov cl, byte [ebp + 0x1c]
add esp, 4
cmp dword [ebp + 0x24], 0
mov esi, eax
mov dword [esp + 0x10], esi
mov byte [esp + 0x53c], cl
je 0x442eb2
push 0x18
push 1
call fcn.0040c6e0
lea edx, [ebx + 3]
push edx
lea edx, [ebx + 2]
push edx
lea ecx, [ebx + 1]
push ecx
mov ecx, dword [ebp + 0x20]
push ebx
push esi
push ecx
lea edx, [esp + 0x6c]
push edx
mov edi, 4
push eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x40], edi
call fcn.00441ff0
add esp, 0x28
mov byte [esp + 0x53d], 0x75
mov byte [esp + 0x53e], 0x64
jmp 0x442efe
mov ecx, dword [ebp + 0x20]
lea eax, [ebx + 1]
test ecx, ecx
jne 0x442ee9
mov ecx, dword [ebp + 0x2c]
cmp ecx, 0x64
jne 0x442ed6
push eax
push ebx
lea eax, [esp + 0x54]
push esi
push eax
call fcn.00441db0
add esp, 0x10
jmp 0x442efe
push ecx
push eax
push ebx
lea ecx, [esp + 0x58]
push esi
push ecx
call fcn.00441c30
add esp, 0x14
jmp 0x442efe
mov edx, dword [ebp + 0x28]
push edx
push ecx
push eax
push ebx
lea eax, [esp + 0x5c]
push esi
push eax
call fcn.00441e50
add esp, 0x18
mov eax, dword [ebp + 0x30]
test eax, eax
je 0x442f8d
mov ecx, dword [esp + 0x20]
mov edi, dword [ecx + 0x10]
imul edi, dword [ebp + 0x2c]
dec eax
push 4
push eax
call fcn.0040c6e0
mov edx, dword [ebp + 0x30]
dec edx
add esp, 8
xor esi, esi
xor ecx, ecx
mov dword [esp + 0x14], eax
test edx, edx
jle 0x442f5c
mov eax, dword [ebp + 0x34]
add esi, dword [eax + ecx*4]
mov eax, 0x68db8bad
mov edx, esi
imul edx, edi
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x14]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp + 0x30]
inc ecx
dec eax
cmp ecx, eax
jl 0x442f30
mov ecx, dword [ebp + 0x30]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
push esi
dec ecx
push ecx
push 0x192
lea eax, [ebx + 1]
push eax
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push esi
call fcn.0040c850
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
add esp, 4
push esi
call fcn.0040c850
add esp, 4
jmp case.0x442ba3.6
movzx ecx, byte [ebp + 0x1c]
mov eax, dword [ebp + 4]
push ecx
mov edi, 3
call fcn.004425b0
mov dl, byte [ebp + 0x1c]
mov esi, eax
lea eax, [ebx + 2]
push eax
push 0x47afa0
lea ecx, [ebx + 1]
push ecx
push ebx
mov byte [esp + 0x550], dl
lea edx, [esp + 0x60]
push esi
push edx
call fcn.00441f00
push esi
mov byte [esp + 0x55d], 0x77
call fcn.0040c850
add esp, 0x20
jmp case.0x442ba3.6
movzx eax, byte [ebp + 0x1c]
push eax
mov eax, dword [ebp + 4]
mov edi, 3
call fcn.004425b0
mov cl, byte [ebp + 0x1c]
push ebx
mov esi, eax
push 1
lea edx, [esp + 0x58]
push esi
push edx
mov byte [esp + 0x550], cl
call fcn.00441930
lea eax, [ebx + 2]
push eax
push 0x47af98
lea ecx, [ebx + 1]
push ecx
lea edx, [esp + 0x6c]
push 0x469ab6
push edx
call fcn.004419e0
push esi
call fcn.0040c850
push 0x4c
push 1
call fcn.0040c6e0
add esp, 0x34
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x4c], 0
je 0x4430b6
push 0x20
push 1
call fcn.0040c6e0
mov ecx, dword [esp + 0x544]
mov edx, dword [esp + 0x548]
mov esi, eax
mov eax, dword [esp + 0x44]
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x550]
mov dword [esi + 0x10], edx
mov edx, dword [esp + 0x50]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x54c]
mov dword [esi], ebp
mov ebp, dword [esp + 0x40]
push esi
mov dword [esi + 0x14], eax
push edx
mov dword [esi + 4], ebp
mov dword [esi + 8], edi
mov dword [esi + 0x18], ecx
call fcn.00442770
mov eax, dword [esp + 0x84]
push esi
push eax
call fcn.00442630
add esp, 0x18
cmp ebp, ebx
jne 0x4430b6
add ebx, edi
mov dword [esp + 0x28], ebx
mov edx, dword [esp + 0x44]
test edx, edx
jl 0x4430e2
mov ecx, dword [esp + 0x24]
add ecx, edx
cmp edx, ecx
jge 0x4430e2
lea eax, [edx + edx*8]
lea eax, [esp + eax*4 + 0xc8]
sub ecx, edx
mov edx, dword [esp + 0x58]
mov dword [eax], edx
add eax, 0x24
sub ecx, 1
jne 0x4430d4
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, dword [ecx + 0x10]
mov dword [esp + 0x30], eax
jl 0x442950
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
test esi, esi
jle 0x443123
mov edx, dword [edi + 0xc]
lea eax, [esp + 0xc8]
mov edi, edi
mov ecx, dword [eax]
cmp edx, ecx
jge 0x443118
mov edx, ecx
add eax, 0x24
sub esi, 1
jne 0x443110
mov dword [edi + 0xc], edx
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x34]
mov dword [edx], ebx
mov eax, dword [eax + 4]
test eax, eax
je 0x443142
cmp byte [eax], 0
je 0x443142
push edi
call fcn.00441430
add esp, 4
mov ecx, dword [esp + 0x54c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00456f82
add esp, 0x540
ret