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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x540
mov eax, dword [0x4b6074]
mov edi, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x10]
xor eax, ebp
mov dword [esp + 0x538], eax
mov eax, dword [edi + 4]
mov esi, dword [ecx]
test eax, eax
je 0x4586f2
cmp byte [eax], 0
mov dword [esp + 0x10], esi
je 0x45878d
xor eax, eax
inc eax
push 0x20
push eax
call fcn.00410d70
add esp, 8
xor ecx, ecx
xor edx, edx
inc edx
mov dword [eax], ecx
mov dword [eax + 4], esi
mov dword [eax + 8], edx
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], ecx
push eax
push dword [ebp + 0xc]
call fcn.0045857a
add esp, 8
mov eax, dword [edi + 8]
mov ecx, dword [ebx + 0xc]
test eax, eax
lea edx, [ecx - 4]
cmovne edx, ecx
mov dword [ebx + 0x18], edx
je 0x4586ca
add ecx, 8
mov dword [ebx + 0xc], ecx
add ecx, 4
mov dword [ebx + 0xc], ecx
add dword [ebx + 0x10], 0xfffffff2
add dword [ebx + 0x14], 7
mov esi, dword [esp + 0x10]
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x20], eax
inc esi
cmp dword [edi + 4], 0
je 0x4586f2
mov dword [esp + 0x10], esi
jmp 0x45878d
lea eax, [edi + 8]
mov dword [esp + 0x10], esi
cmp dword [eax], 0
je 0x45878d
xor ecx, ecx
inc ecx
push 0x20
push ecx
mov dword [esp + 0x14], eax
call fcn.00410d70
add esp, 8
mov edi, dword [esp + 0x10]
xor ebx, ebx
mov esi, eax
mov dword [eax], ebx
mov dword [eax + 4], edi
xor eax, eax
inc eax
mov dword [esi + 8], eax
mov eax, dword [esp + 0xc]
push dword [eax]
call fcn.0045562a
add esp, 4
mov dword [esi + 0x1c], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebx
push esi
push dword [ebp + 0xc]
call fcn.0045857a
add esp, 8
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
mov ecx, dword [ecx + 0x10]
lea edx, [eax + 0xf]
mov dword [esi + 0xc], edx
mov edx, 0xc
push edi
push ebx
push ebx
mov ebx, dword [ebp + 0x10]
push 0x5000000d
push str.STATIC
push edx
push ecx
push eax
push 3
push ebx
call fcn.0045748f
add esp, 0x28
inc edi
mov dword [esp + 0x10], edi
lea edi, [esp + 0x2f8]
mov ecx, 9
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x14]
cmp dword [esi + 0x10], 0
je 0x459173
xor edi, edi
xor ebx, ebx
inc edi
mov dword [esp + 0x1c], edi
xor edi, edi
mov eax, dword [esi + 0x18]
mov dword [esp + 0x28], edi
mov edx, dword [eax + edi*4]
mov eax, dword [edx]
cmp eax, 9
je 0x4588f1
cmp eax, 6
jne 0x458937
xor eax, eax
mov esi, dword [esp + 0x1c]
inc eax
cmp dword [edx + 0x1c], eax
mov ecx, eax
sete al
cmp esi, ecx
sete cl
xor cl, al
jne 0x45880a
push 0x575
push str..._windows_winctrls.c
push str._ctrl__columns.ncols__1____ncols__1_
mov esi, edx
call fcn.0047b26f
mov edx, esi
mov esi, dword [esp + 0x28]
add esp, 0xc
cmp esi, 1
jne 0x458a16
mov esi, dword [edx + 0x1c]
mov dword [esp + 0x20], ebx
mov dword [esp + 0xc], edx
cmp esi, 0x11
jb 0x45883a
push 0x57e
push str..._windows_winctrls.c
push str.ncols___lenof_columns_
call fcn.0047b26f
add esp, 0xc
cmp esi, 2
lea ebx, [esp + 0x2f8]
mov dword [esp + 0x1c], esi
jl 0x458869
mov eax, dword [esp + 0x1c]
lea edx, [eax - 1]
lea eax, [esp + 0x31c]
mov edi, eax
mov ecx, 9
mov esi, ebx
add eax, 0x24
dec edx
rep movsd dword es:[edi], dword [esi]
jne 0x458858
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jle 0x4588e5
mov eax, dword [esp + 0xc]
xor ebx, ebx
lea edi, [esp + 0x30c]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x14], eax
xor eax, eax
mov ecx, dword [esp + 0x14]
mov edx, 0x51eb851f
mov ecx, dword [ecx + ebx*4]
inc ebx
add ecx, eax
mov dword [esp + 0xc], ecx
mov ecx, dword [edi - 4]
add ecx, 3
imul eax, ecx
imul ecx, dword [esp + 0xc]
imul edx
mov esi, edx
mov eax, edx
mov edx, 0x51eb851f
shr eax, 0x1f
sar esi, 5
add esi, eax
mov eax, ecx
imul edx
mov eax, edx
sar edx, 5
shr eax, 0x1f
add edx, eax
mov eax, dword [edi]
add esi, eax
lea eax, [eax + edx - 3]
sub eax, esi
mov dword [edi], esi
mov dword [edi - 4], eax
add edi, 0x24
cmp dword [esp + 0x1c], ebx
mov eax, dword [esp + 0xc]
jne 0x458887
mov esi, dword [ebp + 0x14]
mov ebx, dword [esp + 0x20]
jmp 0x458a59
cmp byte [edx + 8], 0
je 0x458912
push 0x59f
push str..._windows_winctrls.c
push str._ctrl__generic.tabdelay
mov esi, edx
call fcn.0047b26f
mov edx, esi
add esp, 0xc
mov edx, dword [edx + 0x1c]
test ebx, ebx
mov dword [esp + 0x20], ebx
jle 0x458a62
xor esi, esi
cmp dword [esp + esi*4 + 0x78], edx
je 0x458a7f
inc esi
cmp esi, ebx
jl 0x458923
jmp 0x458a64
mov eax, dword [edx + 0xc]
mov dword [esp + 0x20], ebx
mov dword [esp + 0xc], edx
mov ecx, 9
lea edi, [esp + 0x3c]
movzx ebx, ax
shr eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [ebx*4]
lea edx, [eax + eax*8]
lea eax, [esp + edx + 0x2f8]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x14]
lea ecx, [ebx + edi]
lea ecx, [ecx + ecx*8]
mov esi, dword [esp + ecx*4 + 0x30c]
add esi, dword [esp + ecx*4 + 0x308]
lea ecx, [edi + 1]
mov dword [esp + 0x24], ecx
sub esi, dword [eax + 0x14]
lea eax, [edi + ebx + 1]
mov dword [esp + 0x4c], esi
lea esi, [esp + 0x304]
mov ecx, dword [esp + 0x48]
add edx, esi
mov esi, ebx
mov edi, dword [edx]
cmp ecx, edi
jge 0x4589af
mov ecx, edi
mov dword [esp + 0x48], edi
inc esi
add edx, 0x24
cmp esi, eax
jb 0x4589a3
mov edx, dword [esp + 0xc]
cmp byte [edx + 8], 0
je 0x458a9d
mov esi, dword [esp + 0x20]
cmp esi, 0x10
jb 0x4589e9
push 0x5c4
push str..._windows_winctrls.c
push str.ntabdelays___lenof_tabdelays_
call fcn.0047b26f
mov edx, dword [esp + 0x18]
add esp, 0xc
lea eax, [esi + esi*8]
mov ecx, 9
lea edi, [esp + eax*4 + 0xb8]
mov eax, esi
lea esi, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + eax*4 + 0x78], edx
inc eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x20], eax
jmp 0x458a9d
mov eax, dword [esp + 0x304]
cmp esi, 2
lea edi, [esp + 0x2f8]
jl 0x458a3e
dec esi
lea ecx, [esp + 0x328]
mov edx, dword [ecx]
cmp eax, edx
cmovl eax, edx
add ecx, 0x24
dec esi
jne 0x458a31
mov esi, dword [ebp + 0x10]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x14]
mov dword [esp + 0x304], eax
xor edi, edi
inc edi
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x28]
jmp 0x45915d
xor esi, esi
push 0x5a5
push str..._windows_winctrls.c
push str.i___ntabdelays
mov edi, edx
call fcn.0047b26f
mov edx, edi
add esp, 0xc
lea eax, [esi + esi*8]
mov ecx, 9
lea edi, [esp + 0x3c]
lea esi, [esp + eax*4 + 0xb8]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
dec eax
mov dword [esp + 0x24], eax
mov ebx, eax
xorps xmm0, xmm0
mov dword [esp + 0xc], edx
movaps xmmword [esp + 0x60], xmm0
mov eax, dword [edx]
cmp eax, 8
ja case.0x458ab4.6
jmp dword [eax*4 + 0x496d10]
lea eax, [esp + 0x38]
push eax
push dword [edx + 4]
mov eax, dword [ebp + 0x10]
push dword [eax]
lea eax, [esp + 0x48]
push eax
call fcn.004577a7
add esp, 0x10
xor edx, edx
mov ecx, eax
mov dword [esp + 0x14], eax
call fcn.004591cc
mov edi, eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
lea esi, [ecx + eax*8 + 3]
shl eax, 3
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x10]
push esi
push edi
push 0
push 0x5000000c
push str.STATIC
push eax
push edx
push ecx
mov eax, 3
push eax
lea eax, [esp + 0x60]
push eax
call fcn.0045748f
add esp, 0x28
push edi
call fcn.00410de6
add esp, 4
push dword [esp + 0x14]
call fcn.00410de6
xor ecx, ecx
add esp, 4
jmp 0x458d67
mov eax, dword [esp + 0xc]
movsx edx, byte [eax + 0x1c]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
call fcn.004591cc
mov edx, dword [esp + 0xc]
mov esi, eax
mov al, byte [edx + 0x1c]
mov byte [esp + 0x60], al
mov eax, dword [edx + 0x20]
mov cl, byte [edx + 0x25]
cmp eax, 0x64
jne 0x458f12
mov edi, dword [esp + 0x10]
test cl, cl
lea eax, [edi + 1]
je 0x458f5f
push eax
push edi
push esi
lea eax, [esp + 0x48]
push eax
call fcn.0045762b
add esp, 0x10
jmp 0x458f99
mov eax, dword [edx + 0x24]
mov ecx, dword [edx + 4]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
movsx edx, byte [eax + 0x1c]
call fcn.004591cc
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xc]
mov al, byte [eax + 0x1c]
mov byte [esp + 0x60], al
push 8
mov eax, dword [esp + 0x10]
push dword [eax + 0x24]
call fcn.00410d70
mov edx, dword [esp + 0x14]
add esp, 8
mov edi, dword [edx + 0x24]
mov dword [esp + 0x14], eax
test edi, edi
jle 0x458c67
mov ecx, dword [esp + 0x10]
mov eax, dword [edx + 0x2c]
xor esi, esi
inc ecx
mov dword [esp + 0x34], ecx
xor ecx, ecx
inc ecx
mov dword [esp + 0x30], ecx
test eax, eax
je 0x458bfb
mov al, byte [eax + esi]
jmp 0x458bfd
xor eax, eax
mov ecx, dword [edx + 0x28]
mov edi, dword [esp + 0x14]
movsx edx, al
mov ecx, dword [ecx + esi*4]
call fcn.004591cc
mov dword [edi + esi*8], eax
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0xc]
lea eax, [eax + esi]
mov dword [edi + esi*8 + 4], eax
mov eax, dword [edx + 0x2c]
test eax, eax
je 0x458c5d
mov edi, dword [esp + 0x30]
cmp edi, 0x10
jl 0x458c4f
push 0x614
push str..._windows_winctrls.c
push str.nshortcuts___MAX_SHORTCUTS_PER_CTRL
call fcn.0047b26f
mov edx, dword [esp + 0x18]
add esp, 0xc
mov eax, dword [edx + 0x2c]
mov cl, byte [eax + esi]
mov byte [esp + edi + 0x60], cl
inc edi
mov dword [esp + 0x30], edi
jmp 0x458c5f
xor eax, eax
mov edi, dword [edx + 0x24]
inc esi
cmp esi, edi
jl 0x458bf2
mov esi, edx
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x3c]
push edi
push dword [esp + 0x18]
push dword [esi + 0x20]
push dword [esp + 0x1c]
call fcn.00457699
add esp, 0x10
cmp dword [esi + 0x24], 0
jle 0x458ca4
mov edi, esi
xor esi, esi
mov ecx, dword [esp + 0x14]
push dword [ecx + esi*8]
call fcn.00410de6
add esp, 4
inc esi
cmp esi, dword [edi + 0x24]
jl 0x458c8f
inc dword [esp + 0x18]
push dword [esp + 0x14]
call fcn.00410de6
add esp, 4
push dword [esp + 0x2c]
call fcn.00410de6
add esp, 4
xor ecx, ecx
jmp 0x458e19
mov edi, edx
movsx edx, byte [edx + 0x1c]
mov ecx, dword [edi + 4]
call fcn.004591cc
mov esi, eax
mov al, byte [edi + 0x1c]
mov ecx, dword [esp + 0x4c]
mov edi, dword [esp + 0x10]
mov byte [esp + 0x60], al
mov eax, dword [esp + 0x48]
lea edx, [eax + 0xb]
mov dword [esp + 0x48], edx
push edi
push esi
push 0
push 0x50014003
push str.BUTTON
push 8
push ecx
push eax
push 3
lea eax, [esp + 0x60]
push eax
call fcn.0045748f
add esp, 0x28
push esi
call fcn.00410de6
add esp, 4
xor ecx, ecx
xor eax, eax
mov esi, edi
jmp 0x458d69
mov edi, edx
movsx edx, byte [edx + 0x1c]
mov ecx, dword [edi + 4]
call fcn.004591cc
mov cl, byte [edi + 0x1c]
mov esi, 2
mov byte [esp + 0x60], cl
cmp byte [edi + 0x1e], 0
movzx ecx, byte [edi + 0x1d]
cmove esi, dword [esp + 0x10]
push ecx
push esi
mov edi, eax
push eax
lea eax, [esp + 0x48]
push eax
call fcn.00457a3e
add esp, 0x10
push edi
call fcn.00410de6
add esp, 4
xor ecx, ecx
xor eax, eax
inc eax
mov dword [esp + 0x18], eax
jmp 0x45909e
mov eax, dword [esp + 0xc]
movsx edx, byte [eax + 0x1c]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
call fcn.004591cc
mov edx, dword [esp + 0xc]
mov edi, eax
mov dword [esp + 0x34], edi
mov al, byte [edx + 0x1c]
mov byte [esp + 0x60], al
cmp byte [edx + 0x24], 0
je 0x458f2d
push 0x18
xor eax, eax
inc eax
push eax
call fcn.00410d70
add esp, 8
mov esi, dword [esp + 0x10]
mov ecx, eax
lea eax, [esi + 3]
lea edx, [esi + 2]
mov dword [esp + 0x14], edx
lea edx, [esi + 1]
push eax
push dword [esp + 0x18]
push edx
push esi
push edi
mov edi, dword [esp + 0x20]
push dword [edi + 0x20]
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x30], ecx
push ecx
call fcn.00457e55
add esp, 0x20
mov word [esp + 0x61], 0x6475
mov dword [esp + 0x18], 4
jmp 0x458ff5
push 0x67d
push str..._windows_winctrls.c
push str.__Cant_happen_
call fcn.0047b26f
add esp, 0xc
xor ecx, ecx
mov dword [esp + 0x18], 0
mov esi, dword [esp + 0x10]
jmp 0x45909e
mov edi, edx
movsx edx, byte [edx + 0x1c]
mov ecx, dword [edi + 4]
call fcn.004591cc
mov esi, eax
mov al, byte [edi + 0x1c]
mov edi, dword [esp + 0x10]
mov byte [esp + 0x60], al
lea eax, [edi + 2]
lea ecx, [edi + 1]
push eax
push str.Browse...
push ecx
push edi
push esi
lea eax, [esp + 0x50]
push eax
call fcn.00457d9a
add esp, 0x18
mov byte [esp + 0x61], 0x77
push esi
call fcn.00410de6
add esp, 4
mov dword [esp + 0x18], 3
jmp 0x458faa
mov esi, edx
movsx edx, byte [edx + 0x1c]
mov ecx, dword [esi + 4]
call fcn.004591cc
mov edi, eax
mov dword [esp + 0x14], eax
mov al, byte [esi + 0x1c]
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x10]
mov byte [esp + 0x60], al
mov eax, dword [esp + 0x48]
lea edx, [eax + 0xb]
mov dword [esp + 0x48], edx
push esi
push edi
xor edi, edi
push edi
push 0x5000000c
push str.STATIC
push 8
push ecx
push eax
push 3
lea eax, [esp + 0x60]
push eax
call fcn.0045748f
add esp, 0x28
lea eax, [esi + 2]
lea ecx, [esi + 1]
push eax
push str.Change...
push ecx
mov eax, 0x4ac4e7
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.004579be
add esp, 0x14
push edi
push edi
push edi
mov eax, 0x4ac4e7
push eax
call fcn.00466dce
add esp, 0x10
mov edi, eax
push dword [esp + 0x14]
call fcn.00410de6
mov ecx, edi
add esp, 4
mov dword [esp + 0x18], 3
jmp 0x45909e
test cl, cl
je 0x458f73
mov edi, dword [esp + 0x10]
lea ecx, [edi + 1]
push eax
push ecx
push edi
push esi
lea eax, [esp + 0x4c]
push eax
call fcn.00457c0a
jmp 0x458f96
mov eax, dword [edx + 0x20]
mov esi, dword [esp + 0x10]
test eax, eax
je 0x458fb3
xor ecx, ecx
cmp dword [edx + 0x28], 0
lea edx, [esi + 1]
setne cl
push ecx
push eax
push edx
push esi
push edi
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x50]
push eax
call fcn.00457d09
add esp, 0x18
jmp 0x458fe5
movzx ecx, byte [edx + 0x24]
push eax
push edi
push esi
push ecx
lea eax, [esp + 0x4c]
push eax
call fcn.004575af
jmp 0x458f96
cmp byte [edx + 0x24], 0
mov edi, dword [esp + 0x10]
mov ecx, 0x457b59
mov edx, 0x457aa3
cmove ecx, edx
lea edx, [edi + 1]
push eax
push edx
push edi
push esi
lea eax, [esp + 0x4c]
push eax
call ecx
add esp, 0x14
push esi
call fcn.00410de6
add esp, 4
mov dword [esp + 0x18], 2
xor ecx, ecx
mov esi, edi
jmp 0x45909e
mov ecx, dword [edx + 0x2c]
lea eax, [esi + 1]
cmp ecx, 0x64
jne 0x458fd0
push eax
push esi
push edi
lea eax, [esp + 0x48]
push eax
call fcn.00457c9c
add esp, 0x10
jmp 0x458fe1
push ecx
push eax
push esi
push edi
lea eax, [esp + 0x4c]
push eax
call fcn.00457b78
add esp, 0x14
mov edi, dword [esp + 0xc]
mov dword [esp + 0x18], 2
mov dword [esp + 0x14], 0
mov eax, dword [edi + 0x30]
test eax, eax
je 0x45908e
mov edi, dword [esp + 0xc]
mov ecx, dword [ebp + 0x10]
dec eax
mov dword [esp + 0x2c], ebx
mov esi, dword [edi + 0x2c]
imul esi, dword [ecx + 0x10]
push 4
push eax
call fcn.00410d70
add esp, 8
mov ebx, dword [edi + 0x30]
cmp ebx, 2
jl 0x459062
mov edx, edi
mov dword [esp + 0x30], esi
mov esi, eax
xor ecx, ecx
xor edi, edi
mov eax, dword [edx + 0x34]
mov edx, 0x68db8bad
add ecx, dword [eax + edi*4]
mov eax, dword [esp + 0x30]
imul eax, ecx
imul edx
mov eax, edx
sar edx, 0xc
shr eax, 0x1f
add edx, eax
mov dword [esi + edi*4], edx
mov edx, dword [esp + 0xc]
inc edi
mov ebx, dword [edx + 0x30]
dec ebx
cmp edi, ebx
jl 0x459032
jmp 0x459065
dec ebx
mov esi, eax
mov edi, dword [esp + 0x10]
lea ecx, [edi + 1]
push esi
push ebx
push 0x192
push ecx
mov eax, dword [ebp + 0x10]
push dword [eax]
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push esi
mov esi, edi
call fcn.00410de6
add esp, 4
mov ebx, dword [esp + 0x2c]
push dword [esp + 0x34]
call fcn.00410de6
add esp, 4
mov ecx, dword [esp + 0x14]
cmp dword [esp + 0x3c], 0
je 0x459118
push 0x20
push 1
mov dword [esp + 0x1c], ecx
call fcn.00410d70
add esp, 8
mov edx, dword [esp + 0xc]
mov edi, eax
mov dword [esp + 0xc], esi
mov ecx, dword [esp + 0x14]
mov dword [edi], edx
mov dword [edi + 4], esi
mov esi, dword [esp + 0x18]
mov dword [edi + 8], esi
mov dword [edi + 0x1c], ecx
movsd xmm0, qword [esp + 0x60]
movsd xmm1, qword [esp + 0x68]
movsd qword [edi + 0x14], xmm1
movsd qword [edi + 0xc], xmm0
push edi
push dword [ebp + 0xc]
call fcn.0045857a
add esp, 8
push edi
push dword [ebp + 8]
call fcn.004583ee
add esp, 8
mov eax, dword [esp + 0x10]
mov ecx, 0
cmp dword [esp + 0xc], eax
cmovne esi, ecx
add eax, esi
mov dword [esp + 0x10], eax
jmp 0x459121
push ecx
call fcn.00410de6
add esp, 4
mov esi, dword [ebp + 0x14]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
test ebx, ebx
js 0x459159
test eax, eax
jle 0x459159
add eax, ebx
lea ecx, [ebx + ebx*8]
lea edx, [esp + 0x304]
mov dword [esp + 0x24], eax
lea ecx, [edx + ecx*4]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x24]
inc ebx
mov dword [ecx], eax
add ecx, 0x24
cmp ebx, edx
jl 0x45914f
mov ebx, dword [esp + 0x20]
inc edi
cmp edi, dword [esi + 0x10]
jb 0x4587b5
cmp dword [esp + 0x1c], 0
mov ebx, dword [ebp + 0x10]
jg 0x45917a
jmp 0x459198
xor eax, eax
inc eax
mov dword [esp + 0x1c], eax
mov ecx, dword [ebx + 0xc]
lea eax, [esp + 0x304]
mov edx, dword [eax]
cmp ecx, edx
jge 0x45918f
mov ecx, edx
mov dword [ebx + 0xc], edx
add eax, 0x24
dec dword [esp + 0x1c]
jne 0x459184
mov eax, dword [ebp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x4591b6
cmp byte [eax], 0
je 0x4591b6
push ebx
call fcn.0045755b
add esp, 4
mov ecx, dword [esp + 0x538]
xor ecx, ebp
call fcn.0046ef41
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret