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

Disassembly:
push 0xffffffffffffffff
push 0x23bdbcc0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x23c68938]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x8c]
mov edi, dword [ebp + 0x60]
mov ecx, edi
call fcn.23b5d470
mov dword [esp + 0x40], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x4c]
mov ecx, edi
call edx
cmp eax, 2
je 0x23b5954d
mov eax, dword [edi]
mov edx, dword [eax + 0x4c]
mov ecx, edi
call edx
test eax, eax
je 0x23b5954d
xor eax, eax
jmp 0x23b59552
mov eax, 1
xor ebx, ebx
test eax, eax
sete bl
cmp dword [esp + 0x40], 5
mov dword [esp + 0x18], ebx
jne 0x23b59571
xor eax, eax
test ebx, ebx
sete al
mov ebx, eax
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebp
call fcn.23b5e770
cmp dword [esi + 0x28], 0
mov dword [esp + 0x80], 0
je 0x23b595b0
mov edx, dword [ebp + 0x60]
cmp dword [edx + 4], ebp
jne 0x23b595b0
cmp dword [edi + 0x1c], 0
je 0x23b595b0
test ebx, ebx
je 0x23b595a8
lea eax, [esi + 0x12c]
jmp 0x23b595c0
lea eax, [esi + 0x11c]
jmp 0x23b595c0
lea eax, [esi + 0x124]
test ebx, ebx
jne 0x23b595c0
lea eax, [esi + 0x114]
mov ebx, dword [esp + 0x88]
push eax
push ebx
lea ecx, [esp + 0x70]
mov dword [esp + 0x28], eax
call fcn.23a677a0
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0x8c]
lea edx, [esp + 0x50]
push edx
push 0
push ebp
mov dword [esp + 0x5c], eax
sub esp, 8
mov eax, esp
mov dword [esp + 0x68], ecx
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [edi]
mov edx, dword [eax + 0x48]
mov dword [esp + 0x4c], esp
push ebx
mov ecx, edi
mov byte [esp + 0x98], 1
call edx
cmp dword [esp + 0x40], 3
mov dword [esp + 0x24], eax
jne 0x23b59631
mov eax, dword [ebp + 0x60]
cmp dword [eax + 4], ebp
je 0x23b59631
xor eax, eax
jmp 0x23b59636
mov eax, 1
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], 0
test eax, eax
je 0x23b596c9
mov eax, dword [ebp + 0x78]
test eax, eax
jle 0x23b596c9
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], ecx
jle 0x23b596c9
nop
mov eax, dword [esp + 0x28]
test eax, eax
jl 0x23b5974c
cmp eax, dword [ebp + 0x78]
jge 0x23b5974c
mov ecx, dword [ebp + 0x74]
mov edx, eax
mov ebx, dword [ecx + edx*4]
lea eax, [ecx + edx*4]
mov eax, dword [edi]
mov edx, dword [eax + 0x68]
push ebx
mov ecx, edi
call edx
test eax, eax
je 0x23b596af
mov eax, dword [ebx]
mov edx, dword [eax + 8]
lea ecx, [esp + 0x58]
push ecx
mov ecx, ebx
call edx
cmp dword [esp + 0x18], 0
mov eax, dword [esp + 0x5c]
jne 0x23b596ab
mov eax, dword [esp + 0x58]
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
inc eax
cmp eax, dword [ebp + 0x78]
mov dword [esp + 0x28], eax
jl 0x23b59660
cmp dword [esp + 0x1c], 0
jle 0x23b596c9
add dword [esp + 0x1c], 3
xor ebx, ebx
cmp dword [esp + 0xa0], ebx
je 0x23b59f1e
cmp dword [esp + 0x1c], ebx
jle 0x23b598ab
mov ecx, dword [esi + 0xec]
mov eax, dword [ecx]
mov edx, dword [esp + 0x88]
mov eax, dword [eax + 8]
push ebp
push edx
call eax
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x9c]
mov ebx, dword [esi + 0x60]
add ebx, dword [esp + 0x90]
add eax, dword [esi + 0x64]
sub edx, dword [esi + 0x6c]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x98]
sub ecx, dword [esi + 0x68]
cmp dword [esp + 0x18], 0
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
je 0x23b59751
sub dword [esp + 0x9c], 3
jmp 0x23b59759
call fcn.23a2f00f
sub dword [esp + 0x98], 3
mov eax, dword [ebp + 0x78]
add eax, 0xffffffff
mov dword [esp + 0xa0], eax
js 0x23b598ab
lea esp, [esp]
mov eax, dword [esp + 0xa0]
test eax, eax
jl 0x23b5974c
cmp eax, dword [ebp + 0x78]
jge 0x23b5974c
mov edx, dword [edi]
mov ecx, eax
mov eax, dword [ebp + 0x74]
add ecx, ecx
add ecx, ecx
mov ebx, dword [eax + ecx]
add eax, ecx
mov eax, dword [edx + 0x68]
push ebx
mov ecx, edi
call eax
test eax, eax
je 0x23b5989d
mov edx, dword [ebx]
mov edx, dword [edx + 8]
lea eax, [esp + 0x28]
push eax
mov ecx, ebx
call edx
sub esp, 0x10
cmp dword [esp + 0x28], 0
jne 0x23b59816
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x74]
add eax, ecx
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x3c]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
lea edx, [ecx + eax]
sub ecx, dword [esp + 0x3c]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0xa8]
sub edx, dword [esp + 0x38]
add ecx, eax
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x50]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xa8]
mov dword [eax + 8], ecx
mov ecx, ebx
mov dword [eax + 0xc], edx
call fcn.23b5d230
mov eax, dword [esp + 0x28]
sub dword [esp + 0x98], eax
jmp 0x23b59873
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x70]
mov ebp, dword [esp + 0x38]
lea eax, [ecx + edx]
cdq
sub eax, edx
mov ecx, eax
mov eax, ebp
cdq
sub eax, edx
sar ecx, 1
mov edx, ecx
sar eax, 1
sub edx, eax
add edx, ebp
mov ebp, dword [esp + 0xac]
sub ebp, dword [esp + 0x3c]
sub ecx, eax
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0xac]
mov dword [eax + 4], ebp
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov ecx, ebx
call fcn.23b5d230
mov edx, dword [esp + 0x2c]
sub dword [esp + 0x9c], edx
mov ebp, dword [esp + 0x8c]
mov ecx, dword [esp + 0xa0]
cmp ecx, dword [ebp + 0x78]
jge 0x23b5974c
mov eax, dword [ebp + 0x74]
add ecx, ecx
add ecx, ecx
add eax, ecx
mov ecx, dword [esp + 0x88]
mov eax, dword [eax]
push ecx
mov ecx, eax
call fcn.23b5d9b0
sub dword [esp + 0xa0], 1
jns 0x23b59770
mov ecx, dword [esi + 0xec]
mov edx, dword [ecx]
mov eax, dword [esp + 0x88]
mov edx, dword [edx + 8]
mov ebx, dword [esp + 0x24]
push ebp
push eax
call edx
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x98]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x20]
sub eax, dword [ebp + 0x24]
cmp dword [esp + 0x18], 0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
je 0x23b59bfc
test eax, eax
jle 0x23b5991e
cdq
sub eax, edx
sar eax, 1
neg eax
push eax
push 0
lea ecx, [esp + 0x98]
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov edx, dword [esi + 0x70]
add edx, dword [esi + 0x60]
mov ecx, edi
add dword [esp + 0x94], edx
mov eax, dword [edi]
mov edx, dword [eax + 0x4c]
call edx
cmp eax, 3
jne 0x23b59941
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x6c]
jmp 0x23b59947
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x64]
add dword [esp + 0x90], ecx
sub dword [esp + 0x98], eax
test ebx, ebx
je 0x23b59a5f
cmp dword [esi + 0xe4], 0
je 0x23b599e6
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x90]
mov ebx, dword [esp + 0x94]
add eax, ecx
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x50]
lea edx, [ebx - 1]
mov dword [esp + 0x8c], edx
cdq
sub eax, edx
sar eax, 1
sar ecx, 1
sub ecx, eax
mov eax, dword [esp + 0x9c]
sub eax, ebx
cmp eax, dword [esp + 0x54]
jle 0x23b599d5
mov edx, dword [edi]
mov edx, dword [edx + 0x48]
lea eax, [esp + 0x50]
push eax
mov eax, dword [esp + 0x90]
push 1
push ebp
push eax
push ecx
mov ecx, dword [esp + 0x9c]
push ecx
mov ecx, edi
call edx
mov ebx, dword [esp + 0x94]
mov eax, dword [esp + 0x54]
lea ecx, [ebx + eax + 2]
mov dword [esp + 0x94], ecx
jmp 0x23b59a5f
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
sub ecx, dword [esi + 0x70]
add eax, edx
sub ecx, dword [esi + 0x60]
cdq
sub ecx, dword [esp + 0x54]
sub eax, edx
mov ebx, eax
mov eax, dword [esp + 0x50]
cdq
sub eax, edx
mov edx, dword [esp + 0x9c]
sub edx, dword [esp + 0x94]
sar ebx, 1
sar eax, 1
inc ecx
sub ebx, eax
cmp edx, dword [esp + 0x54]
jle 0x23b59a49
mov eax, dword [edi]
lea edx, [esp + 0x50]
push edx
mov edx, dword [eax + 0x48]
push 1
push ebp
push ecx
mov ecx, dword [esp + 0x98]
push ebx
push ecx
mov ecx, edi
call edx
mov eax, 1
sub eax, dword [esi + 0x70]
sub eax, dword [esi + 0x60]
sub eax, dword [esp + 0x54]
add dword [esp + 0x9c], eax
cmp dword [esp + 0x38], 0
je 0x23b59e93
mov ecx, dword [esp + 0x94]
add ecx, 8
cmp dword [esp + 0x9c], ecx
jle 0x23b59e93
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x40]
push edx
push ecx
push eax
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov edx, dword [edi]
mov ebx, dword [esp + 0x98]
mov eax, dword [edx + 0x4c]
sub ebx, dword [esp + 0x90]
mov ecx, edi
call eax
xor ecx, ecx
cmp eax, 3
sete cl
mov eax, ebx
xor ebx, ebx
sub eax, ecx
sub eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x98]
cdq
sub eax, edx
mov edx, dword [esi + 0x78]
sar eax, 1
sub ecx, eax
mov eax, ecx
sub eax, dword [esp + 0x94]
add edx, 0xfffffffc
add eax, dword [esp + 0x9c]
test edx, edx
setl bl
mov dword [esp + 0x90], ecx
mov dword [esp + 0x98], eax
dec ebx
and edx, ebx
mov ebx, dword [esi + 0x68]
add ebx, edx
sub dword [esp + 0x9c], ebx
cmp dword [esi + 0xe4], 0
jne 0x23b59b54
mov eax, dword [esp + 0x9c]
sub eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jge 0x23b59b30
mov ecx, eax
mov eax, dword [esp + 0x44]
push ecx
neg eax
push eax
lea edx, [esp + 0x98]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x90]
cmp dword [esi + 0x98], 0
jne 0x23b59b77
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.23b565b0
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x90]
cmp dword [esi + 0x90], 0
je 0x23b59bbd
push 0x920
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [esp + 0xa8]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov eax, dword [esp + 0xb0]
lea ecx, [esp + 0x28]
push ecx
mov dword [edx + 0xc], eax
mov edx, dword [esp + 0xa0]
push edi
push edx
mov ecx, esi
call fcn.23b59090
jmp 0x23b59e93
mov edx, dword [esi + 0x94]
mov ecx, dword [esi + 0xe8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
neg edx
sbb edx, edx
and edx, 0x8000
or edx, 0x920
push edx
lea edx, [esp + 0x94]
push edx
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x94]
push edi
push edx
call eax
jmp 0x23b59e93
test eax, eax
jle 0x23b59c18
cdq
sub eax, edx
sar eax, 1
push 0
neg eax
push eax
lea ecx, [esp + 0x98]
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov edx, dword [esi + 0x70]
add edx, dword [esi + 0x60]
mov ecx, edi
add dword [esp + 0x90], edx
mov eax, dword [edi]
mov edx, dword [eax + 0x4c]
call edx
cmp eax, 2
jne 0x23b59c3b
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x6c]
jmp 0x23b59c41
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x64]
add dword [esp + 0x94], ecx
sub dword [esp + 0x9c], eax
test ebx, ebx
je 0x23b59cc9
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x94]
add eax, ecx
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x54]
cdq
sub eax, edx
sar eax, 1
sar ecx, 1
sub ecx, eax
mov eax, dword [esp + 0x90]
lea edx, [eax - 1]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x98]
sub edx, eax
cmp edx, dword [esp + 0x50]
jle 0x23b59cb8
mov eax, dword [edi]
mov eax, dword [eax + 0x48]
lea edx, [esp + 0x50]
push edx
mov edx, dword [esp + 0x8c]
push 1
push ebp
push ecx
mov ecx, dword [esp + 0x68]
push ecx
push edx
mov ecx, edi
call eax
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x50]
lea ecx, [eax + ecx + 2]
mov dword [esp + 0x90], ecx
jmp 0x23b59cd0
mov ecx, dword [esp + 0x90]
cmp dword [esp + 0x38], 0
je 0x23b59e93
mov edx, dword [esp + 0x98]
cmp edx, ecx
jle 0x23b59e93
neg ebx
sbb ebx, ebx
and ebx, 2
sub ebx, dword [esi + 0x78]
sub ebx, dword [esi + 0x68]
add edx, ebx
cmp dword [ebp + 0x84], 0
mov dword [esp + 0x98], edx
je 0x23b59dcd
mov ebx, dword [esp + 0x88]
mov edx, dword [ebx + 8]
mov edi, dword [ebp + 0x60]
push edx
call dword [sym.imp.GDI32.dll_GetTextColor]
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x23b59d2c
mov ecx, dword [ecx + 4]
push eax
mov eax, dword [edi]
mov edx, dword [eax + 0x60]
push ecx
mov ecx, edi
call edx
push eax
call fcn.23ad3da0
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xa8]
add esp, 0xc
test byte [esi + 0x9c], 4
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
je 0x23b59db0
mov eax, dword [ebp + 0x84]
push SysReAllocString
push SysReAllocString
push eax
lea ecx, [esp + 0x64]
push ecx
call fcn.23ad3e10
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x6c]
sub eax, ecx
add eax, dword [esp + 0x54]
add esp, 0x10
cdq
sub eax, edx
sar eax, 1
add ecx, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebp + 0x84]
lea edx, [esp + 0x40]
push edx
push eax
push ecx
call fcn.23ad3ec0
add esp, 0xc
jmp 0x23b59e93
cmp dword [esi + 0x90], 0
je 0x23b59e24
mov eax, dword [esi + 0x98]
neg eax
sbb eax, eax
and eax, 0x800
or eax, dword [esi + 0x9c]
or eax, 0x20
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0xa8]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x9c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0xb0]
mov dword [eax + 0xc], edx
lea eax, [esp + 0x28]
push eax
push edi
push ecx
mov ecx, esi
call fcn.23b59090
jmp 0x23b59e93
cmp dword [esi + 0xa0], 0
je 0x23b59e42
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.23b565b0
cmp dword [esi + 0xa0], 0
jne 0x23b59e4f
cmp dword [esi + 0x98], 0
jne 0x23b59e4f
xor eax, eax
jmp 0x23b59e54
mov eax, 0x800
mov ebx, dword [esi + 0x94]
mov ecx, dword [esi + 0xe8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x48]
neg ebx
sbb ebx, ebx
and ebx, 0x8000
or ebx, dword [esi + 0x9c]
or ebx, eax
or ebx, 0x20
push ebx
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x94]
push edi
push eax
call edx
mov ecx, dword [ebp + 0x60]
cmp dword [ecx + 4], ebp
jne 0x23b59edb
mov eax, dword [ecx]
mov edx, dword [eax + 0x8c]
call edx
test eax, eax
je 0x23b59edb
mov ecx, dword [esp + 0x28]
mov edx, dword [esi]
mov edx, dword [edx + 0x6c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x98]
push ebp
push eax
mov ecx, esi
call edx
lea ecx, [esp + 0x68]
mov byte [esp + 0x80], 0
call fcn.23a677e0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x80], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x23b59f17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x23b5a223
mov eax, dword [esp + 0x40]
cmp eax, 2
jne 0x23b59f41
mov ecx, dword [esi + 0xd8]
mov edx, dword [esi + 0xd4]
mov eax, dword [esi + 0xdc]
push ecx
push edx
push eax
jmp 0x23b5a1e0
cmp eax, 3
jne 0x23b5a0ef
cmp dword [esp + 0x38], ebx
jne 0x23b59f75
mov eax, dword [esp + 0x54]
cmp dword [esp + 0x18], ebx
jne 0x23b59f5e
mov eax, dword [esp + 0x50]
mov ecx, dword [esi + 0xd8]
mov edx, dword [esi + 0xd4]
push ecx
push edx
add eax, 8
push eax
jmp 0x23b5a1e0
cmp dword [esi + 0x28], ebx
je 0x23b59f8d
cmp dword [edi + 0x1c], ebx
je 0x23b59f8d
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, esi
call fcn.23b56410
jmp 0x23b59f9f
lea eax, [esi + 0x124]
cmp dword [esp + 0x18], ebx
jne 0x23b59f9f
lea eax, [esi + 0x114]
mov edx, dword [esp + 0x88]
push eax
push edx
lea ecx, [esp + 0x48]
call fcn.23a677a0
mov eax, dword [edi + 0x5c]
xor ecx, ecx
xor ebp, ebp
cmp eax, ebx
mov byte [esp + 0x80], 2
mov dword [esp + 0x8c], ecx
jle 0x23b5a09b
nop
cmp ebp, ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
jl 0x23b59ffc
cmp ebp, eax
jge 0x23b59ffc
cmp ebp, dword [edi + 0x5c]
jge 0x23b5974c
mov eax, dword [edi + 0x58]
mov ecx, dword [eax + ebp*4]
lea eax, [eax + ebp*4]
jmp 0x23b59ffe
xor ecx, ecx
lea edx, [esp + 0xa0]
push edx
call fcn.23b5e770
mov ebx, dword [esi + 0x98]
mov ecx, dword [esi + 0xe8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x48]
neg ebx
sbb ebx, ebx
and ebx, 0x800
or ebx, 0x520
push ebx
lea ebx, [esp + 0x5c]
push ebx
push eax
mov eax, dword [esp + 0x94]
push edi
push eax
mov byte [esp + 0x94], 3
call edx
mov eax, dword [esp + 0xa0]
add eax, 0xfffffff0
mov byte [esp + 0x80], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x23b5a071
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x8c]
cmp ecx, eax
jg 0x23b5a08d
mov ecx, eax
mov dword [esp + 0x8c], ecx
mov eax, dword [edi + 0x5c]
inc ebp
xor ebx, ebx
cmp ebp, eax
jl 0x23b59fd0
cmp dword [esp + 0x24], ebx
jne 0x23b5a0a5
xor eax, eax
jmp 0x23b5a0b3
mov eax, dword [esp + 0x54]
cmp dword [esp + 0x18], ebx
jne 0x23b5a0b3
mov eax, dword [esp + 0x50]
mov edx, dword [esi + 0xd8]
push edx
mov edx, dword [esi + 0xd4]
push edx
mov edx, dword [esi + 0x78]
add edx, dword [esi + 0x70]
add edx, eax
add edx, ecx
add edx, dword [esp + 0x24]
mov ecx, esi
push edx
call fcn.23b56580
lea ecx, [esp + 0x40]
mov esi, eax
mov byte [esp + 0x80], 1
call fcn.23a677e0
jmp 0x23b5a1e9
cmp dword [ebp + 0x84], ebx
je 0x23b5a151
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.GDI32.dll_GetTextColor]
mov ecx, dword [esp + 0x20]
cmp ecx, ebx
jne 0x23b5a114
xor ecx, ecx
jmp 0x23b5a117
mov ecx, dword [ecx + 4]
push eax
mov eax, dword [edi]
mov edx, dword [eax + 0x60]
push ecx
mov ecx, edi
call edx
push eax
call fcn.23ad3da0
mov ebp, dword [ebp + 0x84]
push SysReAllocString
push SysReAllocString
lea eax, [esp + 0x4c]
push ebp
push eax
call fcn.23ad3e10
mov edx, dword [eax + 4]
mov ecx, dword [eax]
add esp, 0x1c
mov dword [esp + 0x5c], edx
jmp 0x23b5a1ab
mov edx, dword [esi + 0x98]
mov ecx, dword [esi + 0xe8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
neg edx
sbb edx, edx
and edx, 0x800
or edx, 0x520
push edx
lea edx, [esp + 0x94]
push edx
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x94]
push edi
push edx
call eax
mov eax, dword [esp + 0x9c]
sub eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x98]
sub ecx, dword [esp + 0x90]
mov dword [esp + 0x5c], eax
cmp dword [esp + 0x24], ebx
jne 0x23b5a1b5
xor eax, eax
jmp 0x23b5a1c3
mov eax, dword [esp + 0x54]
cmp dword [esp + 0x18], ebx
jne 0x23b5a1c3
mov eax, dword [esp + 0x50]
mov edx, dword [esi + 0xd8]
push edx
mov edx, dword [esi + 0xd4]
push edx
mov edx, dword [esi + 0x78]
add edx, dword [esi + 0x70]
add edx, ecx
add edx, eax
add edx, dword [esp + 0x24]
push edx
mov ecx, esi
call fcn.23b56580
mov esi, eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x80], 0
call fcn.23a677e0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x80], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x23b5a221
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 0x1c