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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x70
push ebx
push ebp
push esi
push edi
call fcn.0057ee1a
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x20]
xor ebx, ebx
cmp eax, ebx
je 0x4c3dbd
mov eax, dword [eax + 0x104]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
jmp 0x4c3dbf
xor eax, eax
mov dword [0x69048c], eax
call fcn.00498a70
mov ebp, dword [0x690c9c]
xor ecx, ecx
cmp ebp, ebx
je 0x4c4618
mov esi, dword [ebp + 0x118]
cmp esi, ebx
setne cl
xor eax, eax
cmp esi, ebx
mov dword [0x6904b8], ebx
mov dword [0x6904bc], ebx
mov dword [0x6904c0], ebx
mov dword [0x6904c4], ebx
mov dword [esp + 0x50], ecx
mov dword [0x6904c8], ebx
mov dword [0x6904cc], ebx
mov dword [0x6904d0], ebx
mov dword [0x6904d4], ebx
mov dword [0x6904d8], ebx
mov dword [0x6904dc], ebx
mov dword [0x6904e0], ebx
mov ecx, 0x26
mov edi, 0x690390
rep stosd dword es:[edi], eax
mov edx, 1
stosw word es:[edi], ax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], edx
mov dword [esp + 0x64], edx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x44], ebx
mov dword [0x6904a8], ebx
mov dword [0x6904f4], ebx
je 0x4c3e9b
cmp dword [esi + 0x88], ebx
jne 0x4c3e9b
cmp dword [esi + 0xc], 0xb
mov dword [0x690460], edx
je 0x4c3ea1
mov dword [0x690460], ebx
xor eax, eax
cmp esi, ebx
setne al
mov dword [0x690468], ebx
mov dword [0x69047c], ebx
mov dword [0x690480], edx
mov dword [0x690484], ebx
mov dword [0x690474], ebx
mov dword [0x690464], eax
cmp dword [ebp + 0x520], ebx
jne 0x4c3ee1
mov ecx, dword [ebp + 0x524]
cmp ecx, dword [ebp + 0x28c]
je 0x4c3ef0
push ebx
call fcn.004793b0
mov ebp, dword [0x690c9c]
add esp, 4
cmp esi, ebx
mov dword [esp + 0x3c], ebx
je 0x4c431e
mov edi, dword [esi + 0xc]
mov ebp, dword [esi + 0x10]
imul edi, edi, 0x84
mov ecx, 1
add dword [0x6904a8], ecx
mov eax, dword [esi + 0x10]
add edi, 0x62d8f0
cmp eax, 0x4d
jge 0x4c3f99
cmp eax, 0x1c
jle 0x4c3f3f
jmp 0x4c3f30
lea edx, [eax + eax*2]
mov eax, dword [edx*8 + 0x62e39c]
cmp eax, 0x1c
jg 0x4c3f30
xor edx, edx
cmp eax, 0x1c
sete dl
mov eax, edx
cmp eax, ebx
je 0x4c3f99
cmp dword [esi + 0x120], ebx
je 0x4c3f8e
fld qword [esi + 0x148]
sub esp, 8
fstp qword [esp]
call fcn.005cf37a
add esp, 8
cmp eax, 4
je 0x4c3f89
fld qword [esi + 0x148]
sub esp, 8
fstp qword [esp]
call fcn.005cf37a
add esp, 8
cmp eax, 0x200
jne 0x4c3f94
mov ecx, 1
mov dword [esp + 0x64], ebx
jmp 0x4c3f99
mov ecx, 1
add word [ebp*2 + 0x690390], cx
cmp dword [esp + 0x4c], ebx
jne 0x4c3fd0
mov eax, dword [esi]
cmp eax, ebx
je 0x4c3fb2
cmp eax, 0xf
jne 0x4c3fd0
mov eax, dword [esi + 0xc]
cmp eax, ecx
je 0x4c3fbe
cmp eax, 0xb
jne 0x4c3fd0
cmp eax, 0xb
jne 0x4c3fcc
cmp dword [esi + 0x150], 4
jne 0x4c3fd0
mov dword [esp + 0x4c], ecx
cmp dword [esi], 0x59
jne 0x4c3fdb
mov dword [0x690474], ecx
mov eax, dword [esp + 0x3c]
cmp eax, 0x4d
mov ecx, ebp
jge 0x4c401f
cmp ebp, 0x4d
jge 0x4c401f
cmp eax, ebx
jne 0x4c3ff7
mov eax, ebp
mov dword [esp + 0x3c], eax
jmp 0x4c402b
cmp eax, ebp
je 0x4c4019
cmp eax, ecx
jge 0x4c400b
lea ecx, [ecx + ecx*2]
mov ecx, dword [ecx*8 + 0x62e39c]
jmp 0x4c4015
lea edx, [eax + eax*2]
mov eax, dword [edx*8 + 0x62e39c]
cmp eax, ecx
jne 0x4c3ffd
mov dword [esp + 0x3c], eax
jmp 0x4c402b
cmp eax, ebp
je 0x4c402b
mov dword [esp + 0x3c], 1
mov eax, dword [edi + 0x54]
push esi
call eax
mov edx, 1
add esp, 4
test dl, al
je 0x4c4052
cmp dword [esi + 4], ebx
mov dword [esp + 0x70], edx
je 0x4c404c
mov dword [esp + 0x6c], edx
jmp 0x4c405a
mov dword [esp + 0x68], ebx
jmp 0x4c405a
mov dword [esp + 0x74], 1
test al, 2
je 0x4c408e
cmp dword [esp + 0x48], ebx
je 0x4c407f
cmp dword [esp + 0x44], ebx
je 0x4c408e
mov ecx, dword [esi + 0x2c]
xor ecx, dword [esp + 0x7c]
test ecx, 0xffffff
je 0x4c408e
mov dword [esp + 0x44], ebx
jmp 0x4c408e
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x7c], ecx
test al, 4
je 0x4c409c
mov ecx, dword [esi + 0x20]
mov dword [ecx*4 + 0x6904c8], edx
test al, 8
je 0x4c40aa
mov ecx, dword [esi + 0x1c]
mov dword [ecx*4 + 0x6904b8], edx
test al, 0x10
je 0x4c40b8
mov eax, dword [esi + 0x24]
mov dword [eax*4 + 0x6904d4], edx
cmp dword [esi + 0xd8], 2
jl 0x4c40c7
mov dword [0x69047c], edx
cmp dword [esi + 0xd8], 3
jge 0x4c40d6
mov dword [0x690480], ebx
cmp dword [esp + 0x50], ebx
je 0x4c4144
mov eax, dword [esi + 0xe0]
cmp eax, 0xffffffff
je 0x4c40f9
mov ecx, dword [0x690c9c]
cmp dword [ecx + 0x5c0], eax
jle 0x4c40f9
mov ecx, edx
jmp case.0x4c4125.0
mov eax, dword [esi + 0xc]
mov ecx, eax
shl ecx, 4
add ecx, eax
mov ecx, dword [ecx*4 + 0x62fc6c]
cmp ecx, ebx
jne case.0x4c4125.0
cmp eax, 0xa
jne 0x4c4130
mov eax, dword [esi + 0xf0]
cmp eax, 9
ja case.0x4c4125.8
movzx eax, byte [eax + 0x4c463c]
jmp dword [eax*4 + 0x4c4634]
mov ecx, edx
jmp case.0x4c4125.0
cmp eax, 6
jne case.0x4c4125.0
xor ecx, ecx
cmp dword [esi + 0x148], edx
sete cl
mov dword [esp + 0x50], ecx
mov ecx, dword [edi + 0x48]
push esi
call ecx
add esp, 4
test eax, eax
je 0x4c420f
mov eax, esi
mov dword [esp + 0x54], 1
call fcn.0045b7a0
test eax, eax
jne 0x4c4223
cmp dword [edi + 0x60], 5
mov dword [esp + 0x58], ebx
je 0x4c4223
mov dword [0x690464], ebx
mov edi, 1
mov eax, dword [esi + 0xb0]
cmp eax, ebx
mov ecx, dword [0x691ca8]
je 0x4c41ac
movzx edx, word [ecx + eax + 2]
movzx eax, word [ecx + eax]
cmp ax, bx
jbe 0x4c41ac
cmp dx, bx
jbe 0x4c41ac
mov dword [esp + 0x60], edi
mov eax, dword [esi + 0xac]
cmp eax, ebx
je 0x4c41cd
movzx edx, word [ecx + eax + 2]
movzx eax, word [ecx + eax]
cmp ax, bx
jbe 0x4c41cd
cmp dx, bx
jbe 0x4c41cd
mov dword [esp + 0x5c], edi
cmp dword [esi + 0xc], 6
jne 0x4c41d7
mov dword [esp + 0x78], edi
call fcn.00442500
test eax, eax
je 0x4c430a
mov eax, dword [esp + 0x40]
cmp eax, 0x4d
mov ecx, ebp
jge 0x4c42fc
cmp ebp, 0x4d
jge 0x4c42fc
cmp eax, ebx
jne 0x4c42d4
mov eax, ebp
mov dword [esp + 0x40], eax
jmp 0x4c4304
mov eax, dword [edi + 0x60]
cmp eax, 6
jge 0x4c417a
cmp eax, ebx
je 0x4c417a
cmp dword [0x690468], ebx
lea ecx, [esi + 0x60]
jne 0x4c4272
mov edx, dword [ecx]
mov dword [0x6904f8], edx
mov eax, dword [ecx + 4]
mov dword [0x6904fc], eax
mov edx, dword [ecx + 8]
mov dword [0x690500], edx
mov eax, dword [ecx + 0xc]
mov dword [0x690504], eax
mov edx, dword [ecx + 0x10]
mov dword [0x690508], edx
mov ax, word [ecx + 0x14]
mov edi, 1
mov word [0x69050c], ax
mov dword [0x690468], edi
jmp 0x4c4185
xor eax, eax
mov edx, 1
sub ecx, 0x6904f8
nop
mov di, word [eax*2 + 0x6904f8]
cmp di, word [ecx + eax*2 + 0x6904f8]
je 0x4c42a4
lea edi, [eax - 7]
cmp edi, 2
mov word [eax*2 + 0x6904f8], bx
ja 0x4c42a4
xor edx, edx
mov edi, 1
add eax, edi
cmp eax, 0xa
jl 0x4c4280
cmp edx, ebx
jne 0x4c42c9
mov word [0x690506], bx
mov word [0x690508], bx
mov word [0x69050a], bx
mov dword [0x690468], edi
jmp 0x4c4185
cmp eax, ebp
je 0x4c42f6
cmp eax, ecx
jge 0x4c42e8
lea ecx, [ecx + ecx*2]
mov ecx, dword [ecx*8 + 0x62e39c]
jmp 0x4c42f2
lea edx, [eax + eax*2]
mov eax, dword [edx*8 + 0x62e39c]
cmp eax, ecx
jne 0x4c42da
mov dword [esp + 0x40], eax
jmp 0x4c4304
cmp eax, ebp
je 0x4c4304
mov dword [esp + 0x40], edi
add dword [0x6904f4], edi
mov esi, dword [esi + 0x88]
cmp esi, ebx
jne 0x4c3efc
mov ebp, dword [0x690c9c]
mov eax, dword [esp + 0x3c]
cmp eax, ebx
mov dword [0x6904e4], eax
jne 0x4c432f
xor esi, esi
jmp 0x4c4333
mov esi, dword [esp + 0x4c]
cmp dword [0x6904f4], ebx
jle 0x4c4345
mov dword [0x690484], 1
mov eax, dword [esp + 0x40]
mov dword [0x6904e8], eax
mov ecx, 0x690426
mov eax, 0x6f0
jmp 0x4c4360
movzx edi, word [ecx + 2]
mov edx, dword [eax + 0x62e3cc]
add word [edx*2 + 0x690390], di
movzx edi, word [ecx]
mov edx, dword [eax + 0x62e3b4]
add word [edx*2 + 0x690390], di
movzx edi, word [ecx - 2]
mov edx, dword [eax + 0x62e39c]
add word [edx*2 + 0x690390], di
movzx edi, word [ecx - 4]
mov edx, dword [eax + 0x62e384]
add word [edx*2 + 0x690390], di
sub eax, 0x60
sub ecx, 8
cmp eax, 0xffffffd0
jg 0x4c4360
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x58]
mov dword [0x690440], ecx
mov ecx, dword [esp + 0x5c]
mov dword [0x690444], edx
mov edx, dword [esp + 0x60]
mov dword [0x69043c], eax
mov eax, dword [esp + 0x64]
mov dword [0x690458], ecx
mov ecx, dword [esp + 0x68]
mov dword [0x69045c], edx
mov edx, dword [esp + 0x6c]
mov dword [0x690454], eax
mov eax, dword [esp + 0x48]
mov dword [0x690430], ecx
mov ecx, dword [esp + 0x70]
mov dword [0x690438], edx
mov edx, dword [esp + 0x74]
mov dword [0x690434], eax
mov eax, dword [esp + 0x78]
mov dword [0x690490], esi
mov dword [0x690494], ecx
mov dword [0x690498], edx
mov dword [0x69049c], eax
cmp dword [ebp + 0x254], 3
jne 0x4c4455
mov eax, dword [ebp + 0x250]
cmp dword [eax + 0xcc], ebx
je 0x4c4455
cmp eax, ebx
je 0x4c4455
cmp dword [eax + 0x120], ebx
mov dword [0x6904a0], ebx
je 0x4c445f
mov dword [0x6904a0], 1
movzx ecx, word [0x690396]
movzx edx, word [0x69039c]
mov si, word [0x690392]
lea eax, [edx + ecx]
mov dword [esp + 0x78], ecx
xor ecx, ecx
test eax, eax
mov ax, word [0x69040c]
setg cl
cmp si, bx
mov dword [0x690478], ecx
mov ecx, dword [esp + 0x78]
jbe 0x4c44bd
movzx ebx, word [0x69039a]
movzx edi, ax
add edi, ecx
add ebx, edi
movzx edi, si
cmp edi, ebx
jne 0x4c44bb
mov edi, 1
mov dword [0x690470], edi
xor ebx, ebx
jmp 0x4c44c8
xor ebx, ebx
mov dword [0x690470], ebx
mov edi, 1
movzx eax, ax
add eax, edx
add eax, ecx
cmp eax, ebx
jle 0x4c44f2
movzx ecx, word [0x6903b2]
movzx edx, word [0x690422]
add ecx, eax
movzx eax, si
add edx, ecx
cmp eax, edx
mov dword [0x69046c], edi
je 0x4c44f8
mov dword [0x69046c], ebx
cmp si, 2
jne 0x4c460d
cmp word [0x690398], si
jne 0x4c460d
mov dword [0x690448], edi
mov edx, dword [ebp + 0x118]
mov ecx, dword [edx + 0x88]
fld qword [ecx + 0xf0]
add ecx, 0xf0
fcomp qword [edx + 0xf0]
fnstsw ax
test ah, 0x44
jp 0x4c4550
fld qword [ecx + 8]
fcomp qword [edx + 0xf8]
mov dword [0x690448], ebx
fnstsw ax
test ah, 0x44
jnp 0x4c4556
mov dword [0x690448], edi
movzx eax, word [0x69613c]
mov edx, dword [0x691bdc]
mov ecx, eax
shr eax, 2
and eax, edi
shr ecx, 1
mov dword [0x690450], eax
xor eax, eax
and ecx, edi
cmp dword [0x6914e0], ebx
mov dword [0x69044c], ecx
setne al
mov dword [0x69042c], edx
mov dword [0x6904a4], ebx
mov dword [0x6904ac], ebx
mov dword [0x690488], eax
cmp dword [ebp + 0x570], ebx
jne 0x4c45c0
mov eax, dword [esp + 0x44]
neg eax
sbb eax, eax
lea ecx, [esp + 0x7c]
and eax, ecx
mov ecx, dword [esp + 0x48]
call fcn.005174f0
mov ebp, dword [0x690c9c]
mov eax, dword [0x6904e4]
shl eax, 0x10
or eax, dword [0x6904a8]
mov dword [0x690388], ebp
mov edx, dword [ebp + 0x288]
xor eax, ebp
mov dword [0x69038c], edx
mov dword [0x68623c], eax
mov dword [0x690510], 0xfffffffe
mov dword [0x6904ec], 4
mov dword [0x6904f0], 3
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [0x690448], ebx
jmp 0x4c4556
xor eax, eax
mov dword [0x6904a4], 1
call fcn.005174f0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret