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

Disassembly:
sub esp, 0x2ec
mov eax, dword [0x4630b0]
xor eax, esp
mov dword [esp + 0x2e8], eax
mov ecx, dword [esp + 0x300]
mov eax, dword [esp + 0x2fc]
mov edx, dword [esp + 0x304]
push ebx
push ebp
mov ebp, dword [esp + 0x2f8]
push esi
mov esi, dword [esp + 0x304]
push edi
mov edi, dword [esp + 0x304]
xor ebx, ebx
push 0x58
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x320]
lea ecx, [esp + 0x3c]
push ebx
push ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.0043b0e0
push 0x453974
push esi
call fcn.0044f18a
add esp, 0x14
test eax, eax
jne 0x423823
mov dword [esp + 0x40], 1
jmp 0x423992
push 0x4535dc
push esi
call fcn.0044f18a
add esp, 8
test eax, eax
jne 0x423842
mov dword [esp + 0x40], 2
jmp 0x423992
push 0x453930
push esi
call fcn.0044f18a
add esp, 8
test eax, eax
jne 0x423861
mov dword [esp + 0x40], 3
jmp 0x423992
push 0x453fa8
push esi
call fcn.0044f18a
add esp, 8
test eax, eax
jne 0x423880
mov dword [esp + 0x40], 4
jmp 0x423992
push 0x45392c
push esi
call fcn.0044f18a
add esp, 8
test eax, eax
jne 0x42389f
mov dword [esp + 0x40], 5
jmp 0x423992
push str.CS
push esi
call fcn.0044f18a
add esp, 8
test eax, eax
jne 0x4238be
mov dword [esp + 0x40], 6
jmp 0x423992
push 0x453fa0
push esi
call fcn.0044f18a
add esp, 8
test eax, eax
jne 0x4238dd
mov dword [esp + 0x40], 7
jmp 0x423992
push 0x453f9c
push esi
call fcn.0044f18a
add esp, 8
test eax, eax
jne 0x4238fc
mov dword [esp + 0x40], 8
jmp 0x423992
push 0x453928
push esi
call fcn.0044f18a
add esp, 8
test eax, eax
jne 0x423918
mov dword [esp + 0x40], 9
jmp 0x423992
push 0x453f98
push esi
call fcn.0044f18a
add esp, 8
test eax, eax
jne 0x423934
mov dword [esp + 0x40], 0xa
jmp 0x423992
push 0x453f94
push esi
call fcn.0044f18a
add esp, 8
test eax, eax
jne 0x423950
mov dword [esp + 0x40], 0xb
jmp 0x423992
push str.Image
push esi
call fcn.0044f18a
add esp, 8
test eax, eax
jne 0x42396c
mov dword [esp + 0x40], 0xd
jmp 0x423992
push 0x453f88
push esi
call fcn.0044f18a
add esp, 8
test eax, eax
jne 0x423988
mov dword [esp + 0x40], 0xe
jmp 0x423992
cmp dword [esp + 0x40], ebx
je 0x424302
mov ecx, dword [esp + 0x10]
fld1
lea edx, [esp + 0x30]
fstp qword [esp + 0x30]
push edx
lea eax, [esp + 0x94]
push eax
push 0xb
push ecx
call fcn.00405d20
add esp, 0x10
cmp eax, 0xa
jl 0x423bf5
cmp eax, 0xb
jge 0x4239c9
mov dword [esp + 0xb8], ebx
cmp dword [edi + 0x110], ebx
mov dword [esp + 0x38], edi
jne 0x4239e7
mov edx, dword [str.Unnamed_layer]
push 0
push edx
push edi
call fcn.00420ba0
add esp, 0xc
mov edx, dword [esp + 0x40]
fld qword [esp + 0x30]
mov eax, dword [edi + 0x110]
fstp qword [esp + 0x58]
sub eax, 1
mov esi, dword [esp + 0xb0]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x94]
mov ecx, edx
sub ecx, 1
neg ecx
sbb ecx, ecx
and ecx, dword [esp + 0x90]
mov dword [esp + 0x48], eax
movzx eax, byte [esp + 0xa4]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x98]
shl eax, 8
mov dword [esp + 0x4c], ecx
movzx ecx, byte [esp + 0xa0]
or eax, ecx
movzx ecx, byte [esp + 0x9c]
shl eax, 8
or eax, ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xa8]
sub esi, eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xb4]
sub eax, ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0xb8]
lea eax, [edx - 2]
cmp eax, 0xc
mov dword [esp + 0x68], esi
mov dword [esp + 0x80], ecx
ja case.0x423aa1.3
movzx edx, byte [eax + 0x4243d0]
jmp dword [edx*4 + 0x4243b4]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x1f8]
push eax
push ecx
push edx
call fcn.004206d0
add esp, 0xc
test eax, eax
jne 0x423bf5
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0x1fc]
push ecx
call fcn.00406540
lea edx, [esp + 0x100]
push edx
mov esi, eax
call fcn.0043b378
mov dword [esp + 0x50], eax
lea eax, [esp + 0x104]
push eax
push esi
call fcn.00406540
lea ecx, [esp + 0x10c]
push ecx
mov esi, eax
call fcn.0043b378
add esp, 0x18
test eax, eax
je 0x423b1e
or dword [esp + 0x44], 0x100
lea edx, [esp + 0xf8]
push edx
push esi
call fcn.00406540
mov esi, eax
lea eax, [esp + 0x100]
push eax
call fcn.0043b378
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
lea ecx, [esp + 0x104]
push ecx
push esi
fstp qword [esp + 0x84]
call fcn.00406540
lea edx, [esp + 0x10c]
push edx
call fcn.0043b378
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
add esp, 0x18
fstp qword [esp + 0x78]
jmp case.0x423aa1.3
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x1f8]
push eax
push ecx
push edx
call fcn.004206d0
add esp, 0xc
test eax, eax
jne 0x423bf5
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0x1fc]
push ecx
call fcn.00406540
lea edx, [esp + 0x78]
mov esi, eax
push edx
lea eax, [esp + 0x104]
push eax
call fcn.00420c90
add esp, 0x10
test eax, eax
jne 0x423bf5
lea ecx, [esp + 0xf8]
push ecx
push esi
call fcn.00406540
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0x104]
push eax
call fcn.00420c90
add esp, 0x10
test eax, eax
je case.0x423aa1.3
mov eax, 1
jmp 0x42439b
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1f8]
push ecx
push edx
push eax
call fcn.004206d0
add esp, 0xc
test eax, eax
jne 0x423bf5
lea ecx, [esp + 0xf8]
push ecx
lea edx, [esp + 0x1fc]
push edx
call fcn.00406540
mov esi, eax
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x104]
push ecx
call fcn.00420c90
add esp, 0x10
test eax, eax
jne 0x423bf5
lea edx, [esp + 0xf8]
push edx
push esi
call fcn.00406540
mov esi, eax
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x104]
push ecx
call fcn.00420c90
add esp, 0x10
test eax, eax
jne 0x423bf5
lea edx, [esp + 0xf8]
push edx
push esi
call fcn.00406540
mov esi, eax
lea eax, [esp + 0x100]
push str.true
push eax
call fcn.0044f18a
mov edi, dword [esp + 0x90]
neg eax
sbb eax, eax
lea ecx, [esp + 0x108]
and eax, 0xfffffffe
push ecx
add eax, 2
push esi
or edi, eax
call fcn.00406540
lea edx, [esp + 0x110]
push str.true
push edx
call fcn.0044f18a
add esp, 0x20
neg eax
sbb eax, eax
add eax, 1
or edi, eax
mov dword [esp + 0x80], edi
jmp case.0x423aa1.3
push 0x320
push 0x42
mov dword [esp + 0x28], 1
mov edi, 1
mov dword [esp + 0x2c], 0x64
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
jne 0x423d20
mov esi, edi
jmp 0x4242bb
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov esi, dword [ebp]
lea eax, [esp + 0x1f8]
push eax
push ebp
push ecx
call fcn.004206d0
add esp, 0xc
test eax, eax
jne 0x423ecd
jmp 0x423d50
lea eax, [esp + 0x1f8]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x423d60
sub eax, edx
xor ecx, ecx
test eax, eax
jle 0x423d84
cmp byte [esp + ecx + 0x1f8], 0x20
jne 0x423d82
add ecx, 1
cmp ecx, eax
jl 0x423d71
test eax, eax
je 0x423ec0
mov cl, byte [esp + ecx + 0x1f8]
cmp cl, 0x30
jl 0x423ec0
cmp cl, 0x39
jg 0x423ec0
lea edx, [esp + 0xf8]
push edx
lea eax, [esp + 0x1fc]
push eax
call fcn.00406540
add esp, 8
cmp byte [esp + 0xf8], 0
mov dword [esp + 0x10], eax
je 0x423e9d
mov esi, dword [esp + 0x20]
cmp edi, dword [esp + 0x24]
jne 0x423e3f
lea ecx, [edi*8 + 0x320]
push ecx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
je 0x423ef4
add dword [esp + 0x24], 0x64
test edi, edi
jle 0x423e1b
mov ecx, ebx
sub ecx, esi
mov edx, edi
mov ebp, dword [ecx + eax]
mov dword [eax], ebp
mov ebp, dword [ecx + eax + 4]
mov dword [eax + 4], ebp
add eax, 8
sub edx, 1
jne 0x423e07
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalHandle]
push ebx
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ebp, dword [esp + 0x18]
mov ebx, esi
mov esi, dword [esp + 0x20]
cmp edi, esi
jne 0x423e5b
lea edx, [esp + 0xf8]
push edx
call fcn.0043b378
add esp, 4
mov dword [ebx + edi*8], eax
add edi, 1
jmp 0x423e76
lea eax, [esp + 0xf8]
push eax
call fcn.0043b378
add esp, 4
mov dword [ebx + esi*8 + 4], eax
add esi, 1
mov dword [esp + 0x20], esi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0xf8]
push ecx
push edx
call fcn.00406540
add esp, 8
cmp byte [esp + 0xf8], 0
mov dword [esp + 0x10], eax
jne 0x423dd1
mov ecx, dword [esp + 0x14]
mov esi, dword [ebp]
lea eax, [esp + 0x1f8]
push eax
push ebp
push ecx
call fcn.004206d0
add esp, 0xc
test eax, eax
je 0x423d50
jmp 0x423ec3
mov dword [ebp], esi
test edi, edi
je 0x423ef4
cmp edi, dword [esp + 0x20]
jne 0x423ef4
lea eax, [edi*8]
push eax
lea edx, [edi - 1]
push 0x42
mov dword [ebx], edx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
mov dword [esp + 0x84], eax
jne 0x423efe
mov esi, 1
jmp 0x4242bb
test edi, edi
jle 0x423f1a
mov ecx, ebx
sub ecx, eax
mov edx, dword [ecx + eax]
mov dword [eax], edx
mov edx, dword [ecx + eax + 4]
mov dword [eax + 4], edx
add eax, 8
sub edi, 1
jne 0x423f06
mov eax, dword [esp + 0x318]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.00422fc0
add esp, 8
jmp case.0x423aa1.3
fild dword [esp + 0xa8]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x1f8]
push edx
fstp qword [esp + 0x74]
fild dword [esp + 0xb0]
push ebx
push edi
fstp qword [esp + 0x84]
call fcn.004206d0
add esp, 0xc
test eax, eax
je 0x423f77
mov esi, 1
mov eax, esi
jmp 0x42439b
mov al, byte [esp + 0x1f8]
test al, al
je 0x423f6b
xor esi, esi
cmp al, 0x20
jne 0x423f9d
jmp 0x423f90
add esi, 1
cmp byte [esp + esi + 0x1f8], 0x20
je 0x423f90
lea eax, [esp + 0x1f8]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x423fa7
sub eax, edx
add eax, 0xffffffff
cmp byte [esp + eax + 0x1f8], 0x20
jne 0x423fcd
nop
sub eax, 1
cmp byte [esp + eax + 0x1f8], 0x20
je 0x423fc0
push 0x3c
mov byte [esp + eax + 0x1fd], 0
lea eax, [esp + 0xc0]
push 0
push eax
call fcn.0043b0e0
lea eax, [esp + esi + 0x204]
lea edx, [esp + 0xc8]
add esp, 0xc
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [eax + edx], cl
add eax, 1
test cl, cl
jne 0x424000
lea ecx, [esp + 0x1f8]
push ecx
push ebx
push edi
call fcn.004206d0
add esp, 0xc
test eax, eax
jne 0x423f6b
lea edx, [esp + 0xf8]
push edx
lea eax, [esp + 0x1fc]
push eax
call fcn.00406540
lea ecx, [esp + 0x100]
push ecx
mov esi, eax
call fcn.0043b378
add esp, 0xc
cmp eax, 1
mov dword [esp + 0xdc], eax
jge 0x424064
mov dword [esp + 0xdc], 8
lea edx, [esp + 0xf8]
push edx
push esi
call fcn.00406540
mov esi, eax
lea eax, [esp + 0x100]
push eax
call fcn.0043b378
neg eax
lea ecx, [esp + 0x104]
sbb eax, eax
push ecx
neg eax
push esi
mov dword [esp + 0xf4], eax
call fcn.00406540
lea edx, [esp + 0x10c]
push edx
mov esi, eax
call fcn.0043b378
neg eax
sbb eax, eax
neg eax
mov dword [esp + 0xfc], eax
lea eax, [esp + 0x110]
push eax
push esi
call fcn.00406540
lea ecx, [esp + 0x118]
push ecx
mov esi, eax
call fcn.0043b378
lea edx, [esp + 0x11c]
push edx
push esi
mov dword [esp + 0x118], eax
call fcn.00406540
lea eax, [esp + 0x124]
push eax
call fcn.0043b378
add esp, 0x30
cmp eax, 1
mov dword [esp + 0xf0], eax
jl 0x423f6b
mov edi, 0x400
push edi
push 0x42
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebp, eax
cmp ebp, ebx
mov dword [esp + 0x1c], ebp
jne 0x424135
mov esi, 1
jmp 0x4242dd
cmp dword [esp + 0xf0], ebx
mov dword [esp + 0x10], ebx
jle 0x42420f
jmp 0x424150
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1f8]
push ecx
push edx
push eax
call fcn.004206d0
add esp, 0xc
test eax, eax
jne 0x42412b
lea eax, [esp + 0x1f8]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x424178
sub eax, edx
lea edx, [ebx + eax + 1]
cmp edx, edi
mov dword [esp + 0x24], edx
jle 0x4241d8
add edi, 0x400
push edi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
je 0x42412b
push ebx
push ebp
push esi
call fcn.0043c200
add esp, 0xc
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edx, dword [esp + 0x24]
mov ebp, esi
lea eax, [esp + 0x1f8]
mov ecx, eax
sub ebx, ecx
add ebx, ebp
mov cl, byte [eax]
mov byte [eax + ebx], cl
add eax, 1
test cl, cl
jne 0x4241e5
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, dword [esp + 0xf0]
mov ebx, edx
mov dword [esp + 0x10], eax
jl 0x424150
mov dword [esp + 0x1c], ebp
lea edx, [ebx + 0x3c]
push edx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebp, eax
test ebp, ebp
jne 0x424239
mov dword [esp + 0x28], 1
mov esi, dword [esp + 0x28]
jmp 0x4242d9
mov eax, dword [esp + 0x1c]
mov ecx, 0xf
lea esi, [esp + 0xbc]
mov edi, ebp
push ebx
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebp + 0x38]
push ecx
call fcn.0043c200
mov edx, dword [esp + 0x324]
push edx
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x98], ebp
call fcn.00422fc0
mov ebx, dword [esp + 0x34]
add esp, 0x14
jmp case.0x423aa1.3
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
lea eax, [esp + 0x40]
push eax
call fcn.00420740
add esp, 0xc
test eax, eax
jne 0x423f6b
cmp dword [esp + 0x40], 1
jne 0x4242a8
mov dword [esp + 0x40], 2
mov edi, dword [esp + 0x2c]
mov ecx, 0x16
lea esi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x28]
test ebx, ebx
je 0x4242d9
mov edi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x4242fb
mov edi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
push ebp
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebp
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
jmp 0x42439b
push str.Comp
push esi
call fcn.0044f18a
add esp, 8
test eax, eax
jne 0x424396
cmp dword [edi + 0x110], ebx
jne 0x424331
mov ecx, dword [str.Unnamed_layer]
push eax
push ecx
push edi
call fcn.00420ba0
add esp, 0xc
fld1
mov ebx, dword [esp + 0x10]
lea edx, [esp + 0x30]
fstp qword [esp + 0x30]
push edx
lea eax, [esp + 0x94]
push eax
push 5
push ebx
call fcn.00405d20
add esp, 0x10
cmp eax, 5
jge 0x424363
mov dword [esp + 0xa0], 0
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x318]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
push ebx
push esi
push edi
push ebp
call fcn.004243e0
add esp, 0x24
neg eax
sbb eax, eax
neg eax
jmp 0x42439b
mov eax, 2
mov ecx, dword [esp + 0x2f8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043b3fc
add esp, 0x2ec
ret