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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f3571
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push ebp
mov ebx, ecx
push esi
push edi
xor edi, edi
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x20], ebx
cmp eax, edi
je 0x4c550a
mov eax, dword [ebx + 0x1c]
cmp byte [eax], 2
jne 0x4c56e9
lea ecx, [esp + 0x40]
call fcn.0046ec80
mov cl, byte [esp + 0x13]
mov dword [esp + 0x90], edi
mov byte [esp + 0x30], cl
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov ecx, dword [ebx + 0x18]
lea edx, [esp + 0x18]
lea eax, [esp + 0x30]
push edx
push eax
mov byte [esp + 0x98], 1
mov byte [esp + 0x20], 0
call fcn.004c8220
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.00453d60
mov ecx, dword [ebx + 0x18]
mov byte [esp + 0x90], 2
call fcn.004c8710
cmp eax, 0xd
je 0x4c557c
mov eax, dword [esp + 0x18]
and eax, 0xff
dec eax
jne 0x4c4693
push 1
push 5
mov ecx, 0x512a78
call fcn.00457470
push 1
mov ecx, ebx
call fcn.004c40d0
test eax, eax
je 0x4c54cc
mov ecx, dword [esp + 0x34]
cmp ecx, edi
je 0x4c56ab
mov eax, dword [esp + 0x38]
sub eax, ecx
sar eax, 2
cmp eax, 3
jb 0x4c56ab
cmp esi, edi
je 0x4c56ab
mov ecx, dword [ecx + 8]
dec ecx
cmp ecx, 8
ja case.default.0x4c46c2
jmp dword [ecx*4 + 0x4c5704]
cmp eax, 4
je 0x4c46e9
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], 1
call fcn.00453ea0
mov edx, dword [esp + 0x34]
push edx
jmp 0x4c54e2
call fcn.00469a70
test al, al
jne 0x4c46ff
mov ecx, dword [0x5130ac]
push 1
call fcn.0046e9e0
push 3
lea ecx, [esp + 0x34]
call fcn.00403fc0
mov ax, word [eax]
sub esp, 0x24
mov esi, esp
mov dword [esp + 0x44], esp
push eax
push 1
lea ecx, [esp + 0x5c]
call fcn.00403fc0
mov ecx, dword [eax]
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ecx
sub esp, 8
fild qword [esp + 0x58]
lea ecx, [esp + 0x60]
fstp qword [esp]
push 7
push edi
call fcn.00403fc0
mov dl, byte [eax]
mov ecx, 0x512a78
push edx
push esi
call fcn.0045b230
lea ecx, [esp + 0x64]
call fcn.0046ee30
call fcn.00469a70
test al, al
jne 0x4c54a5
mov ecx, dword [0x5130ac]
push edi
call fcn.0046e9e0
lea ecx, [esp + 0x14]
call fcn.00454650
mov eax, dword [esp + 0x34]
mov cl, byte [eax]
push ecx
lea ecx, [esp + 0x18]
call fcn.00454260
push 1
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00453d70
mov ecx, dword [0x5130ac]
call fcn.0046e6b0
sub esp, 0x24
lea eax, [esp + 0x64]
mov esi, esp
mov dword [esp + 0x44], esp
push eax
mov ecx, esi
mov dword [esp + 0x48], esi
call fcn.004080f0
lea ecx, [esp + 0x74]
add esi, 0x10
push ecx
mov ecx, esi
mov byte [esp + 0xb8], 4
call fcn.00408160
mov dl, byte [esp + 0x84]
mov byte [esi + 0x10], dl
jmp 0x4c509a
cmp eax, 4
je 0x4c4808
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], 1
call fcn.00453ea0
mov eax, dword [esp + 0x34]
push eax
jmp 0x4c54e2
call fcn.00469a70
test al, al
jne 0x4c481e
mov ecx, dword [0x5130ac]
push 1
call fcn.0046e9e0
push 3
lea ecx, [esp + 0x34]
call fcn.00403fc0
mov cx, word [eax]
sub esp, 0x24
mov esi, esp
mov dword [esp + 0x44], esp
push ecx
push 1
lea ecx, [esp + 0x5c]
call fcn.00403fc0
mov edx, dword [eax]
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], edx
sub esp, 8
fild qword [esp + 0x58]
lea ecx, [esp + 0x60]
fstp qword [esp]
push 0x13
push edi
call fcn.00403fc0
mov al, byte [eax]
mov ecx, 0x512a78
push eax
push esi
call fcn.0045b230
lea ecx, [esp + 0x64]
call fcn.0046ee30
call fcn.00469a70
test al, al
jne 0x4c488d
mov ecx, dword [0x5130ac]
push edi
call fcn.0046e9e0
call fcn.00469a70
test al, al
jne 0x4c4942
lea ecx, [esp + 0x14]
call fcn.00454650
mov ecx, dword [esp + 0x34]
mov dl, byte [ecx]
lea ecx, [esp + 0x14]
push edx
call fcn.00454260
push 1
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00453d70
mov ecx, dword [0x5130ac]
call fcn.0046e6b0
mov cl, byte [esp + 0x40]
sub esp, 0x24
mov esi, esp
mov dword [esp + 0x44], esp
mov dword [esp + 0x44], esi
mov byte [esi], cl
lea ecx, [esp + 0x64]
call fcn.00481290
cmp eax, edi
jge 0x4c48f3
xor eax, eax
shl eax, 4
push eax
call fcn.004dbc04
add esp, 4
mov dword [esi + 4], eax
mov edx, dword [esp + 0x6c]
mov ecx, esi
push eax
mov eax, dword [esp + 0x6c]
push edx
push eax
call fcn.00408220
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea ecx, [esp + 0x74]
mov byte [esp + 0xb4], 5
push ecx
lea ecx, [esi + 0x10]
call fcn.00405d60
mov ecx, dword [0x5130ac]
mov byte [esp + 0xb4], 2
call fcn.0046e5e0
lea ecx, [esp + 0x40]
call fcn.0046f260
test ax, ax
jle 0x4c54a5
mov dl, byte [esp + 0x40]
sub esp, 0x24
mov esi, esp
mov dword [esp + 0x44], esp
lea ecx, [esp + 0x64]
mov dword [esp + 0x44], esi
mov byte [esi], dl
call fcn.00481290
cmp eax, edi
jge 0x4c4976
xor eax, eax
shl eax, 4
push eax
call fcn.004dbc04
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x70]
push eax
push ecx
mov ecx, esi
call fcn.00408220
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov byte [esp + 0xb4], 6
lea edx, [esp + 0x74]
lea ecx, [esi + 0x10]
push edx
call fcn.00405d60
jmp 0x4c52b2
cmp eax, 5
je 0x4c49d7
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], 1
call fcn.00453ea0
mov eax, dword [esp + 0x34]
push eax
jmp 0x4c54e2
call fcn.00469a70
test al, al
jne 0x4c49ed
mov ecx, dword [0x5130ac]
push 1
call fcn.0046e9e0
push 3
lea ecx, [esp + 0x34]
call fcn.00403fc0
mov cx, word [eax]
sub esp, 0x24
mov esi, esp
mov dword [esp + 0x44], esp
push ecx
push 1
lea ecx, [esp + 0x5c]
call fcn.00403fc0
mov edx, dword [eax]
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], edx
sub esp, 8
fild qword [esp + 0x58]
lea ecx, [esp + 0x60]
fstp qword [esp]
push 0x41
push edi
call fcn.00403fc0
mov al, byte [eax]
mov ecx, 0x512a78
push eax
push esi
call fcn.0045b230
lea ecx, [esp + 0x64]
call fcn.0046ee30
call fcn.00469a70
test al, al
jne 0x4c54a5
mov ecx, dword [0x5130ac]
push edi
call fcn.0046e9e0
lea ecx, [esp + 0x14]
call fcn.00454650
mov ecx, dword [esp + 0x34]
mov dl, byte [ecx]
lea ecx, [esp + 0x14]
push edx
call fcn.00454260
push 1
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00453d70
mov ecx, dword [0x5130ac]
call fcn.0046e6b0
mov cl, byte [esp + 0x40]
sub esp, 0x24
mov esi, esp
mov dword [esp + 0x44], esp
mov dword [esp + 0x44], esi
mov byte [esi], cl
lea ecx, [esp + 0x64]
call fcn.00481290
cmp eax, edi
jge 0x4c4ab9
xor eax, eax
shl eax, 4
push eax
call fcn.004dbc04
add esp, 4
mov dword [esi + 4], eax
mov edx, dword [esp + 0x6c]
mov ecx, esi
push eax
mov eax, dword [esp + 0x6c]
push edx
push eax
call fcn.00408220
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea ecx, [esp + 0x74]
mov byte [esp + 0xb4], 7
push ecx
jmp 0x4c5092
cmp eax, 4
je 0x4c4b12
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], 1
call fcn.00453ea0
mov edx, dword [esp + 0x34]
push edx
jmp 0x4c54e2
call fcn.00469a70
test al, al
jne 0x4c4b28
mov ecx, dword [0x5130ac]
push 1
call fcn.0046e9e0
push 3
lea ecx, [esp + 0x34]
call fcn.00403fc0
mov ax, word [eax]
sub esp, 0x24
mov esi, esp
mov dword [esp + 0x44], esp
push eax
push 1
lea ecx, [esp + 0x5c]
call fcn.00403fc0
mov ecx, dword [eax]
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ecx
sub esp, 8
fild qword [esp + 0x58]
lea ecx, [esp + 0x60]
fstp qword [esp]
push 0x25
push edi
call fcn.00403fc0
mov dl, byte [eax]
mov ecx, 0x512a78
push edx
push esi
call fcn.0045b230
lea ecx, [esp + 0x64]
call fcn.0046ee30
call fcn.00469a70
test al, al
jne 0x4c54a5
mov ecx, dword [0x5130ac]
push edi
call fcn.0046e9e0
lea ecx, [esp + 0x14]
call fcn.00454650
mov eax, dword [esp + 0x34]
mov cl, byte [eax]
push ecx
lea ecx, [esp + 0x18]
call fcn.00454260
push 1
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00453d70
mov ecx, dword [0x5130ac]
call fcn.0046e6b0
mov al, byte [esp + 0x40]
sub esp, 0x24
mov esi, esp
mov dword [esp + 0x44], esp
lea ecx, [esp + 0x64]
mov dword [esp + 0x44], esi
mov byte [esi], al
call fcn.00481290
cmp eax, edi
jge 0x4c4bf4
xor eax, eax
shl eax, 4
push eax
call fcn.004dbc04
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00408220
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov byte [esp + 0xb4], 8
jmp 0x4c508d
cmp eax, 4
jne 0x4c54cc
call fcn.00469a70
test al, al
jne 0x4c4c47
mov ecx, dword [0x5130ac]
push 1
call fcn.0046e9e0
push 3
lea ecx, [esp + 0x34]
call fcn.00403fc0
mov dx, word [eax]
sub esp, 0x24
mov esi, esp
mov dword [esp + 0x44], esp
push edx
push 1
lea ecx, [esp + 0x5c]
call fcn.00403fc0
mov eax, dword [eax]
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], eax
sub esp, 8
fild qword [esp + 0x58]
lea ecx, [esp + 0x60]
fstp qword [esp]
push 0xf
push edi
call fcn.00403fc0
mov cl, byte [eax]
push ecx
push esi
mov ecx, 0x512a78
call fcn.0045b230
lea ecx, [esp + 0x64]
call fcn.0046ee30
call fcn.00469a70
test al, al
jne 0x4c54a5
mov ecx, dword [0x5130ac]
push edi
call fcn.0046e9e0
lea ecx, [esp + 0x14]
call fcn.00454650
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x14]
mov al, byte [edx]
push eax
call fcn.00454260
push 1
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00453d70
mov ecx, dword [0x5130ac]
call fcn.0046e6b0
mov al, byte [esp + 0x40]
sub esp, 0x24
mov esi, esp
mov dword [esp + 0x44], esp
lea ecx, [esp + 0x64]
mov dword [esp + 0x44], esi
mov byte [esi], al
call fcn.00481290
cmp eax, edi
jge 0x4c4d13
xor eax, eax
shl eax, 4
push eax
call fcn.004dbc04
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00408220
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov byte [esp + 0xb4], 9
jmp 0x4c508d
cmp eax, 3
jne 0x4c54cc
call fcn.00469a70
test al, al
jne 0x4c4d66
mov ecx, dword [0x5130ac]
push 1
call fcn.0046e9e0
sub esp, 0x24
lea ecx, [esp + 0x54]
mov esi, esp
mov dword [esp + 0x44], esp
push 0x1e
push 1
call fcn.00403fc0
mov edx, dword [eax]
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], edx
sub esp, 8
fild qword [esp + 0x58]
lea ecx, [esp + 0x60]
fstp qword [esp]
push 0x11
push edi
call fcn.00403fc0
mov al, byte [eax]
mov ecx, 0x512a78
push eax
push esi
call fcn.0045b230
lea ecx, [esp + 0x64]
call fcn.0046ee30
call fcn.00469a70
test al, al
jne 0x4c4e74
mov ecx, dword [0x5130ac]
push edi
call fcn.0046e9e0
lea ecx, [esp + 0x14]
call fcn.00454650
mov ecx, dword [esp + 0x34]
mov dl, byte [ecx]
lea ecx, [esp + 0x14]
push edx
call fcn.00454260
push 1
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00453d70
mov ecx, dword [0x5130ac]
call fcn.0046e6b0
mov cl, byte [esp + 0x40]
sub esp, 0x24
mov esi, esp
mov dword [esp + 0x44], esp
mov dword [esp + 0x44], esi
mov byte [esi], cl
lea ecx, [esp + 0x64]
call fcn.00481290
cmp eax, edi
jge 0x4c4e25
xor eax, eax
shl eax, 4
push eax
call fcn.004dbc04
add esp, 4
mov dword [esi + 4], eax
mov edx, dword [esp + 0x6c]
mov ecx, esi
push eax
mov eax, dword [esp + 0x6c]
push edx
push eax
call fcn.00408220
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea ecx, [esp + 0x74]
mov byte [esp + 0xb4], 0xa
push ecx
lea ecx, [esi + 0x10]
call fcn.00405d60
mov ecx, dword [0x5130ac]
mov byte [esp + 0xb4], 2
call fcn.0046e5e0
lea ecx, [esp + 0x40]
call fcn.0046f260
test ax, ax
jle 0x4c47ed
mov dl, byte [esp + 0x40]
sub esp, 0x24
mov esi, esp
mov dword [esp + 0x44], esp
lea ecx, [esp + 0x64]
mov dword [esp + 0x44], esi
mov byte [esi], dl
call fcn.00481290
cmp eax, edi
jge 0x4c4ea8
xor eax, eax
shl eax, 4
push eax
call fcn.004dbc04
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x70]
push eax
push ecx
mov ecx, esi
call fcn.00408220
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov byte [esp + 0xb4], 0xb
jmp 0x4c49a5
cmp eax, 3
jne 0x4c54cc
mov ecx, dword [ebx + 0x18]
call fcn.004c8710
cmp eax, 0x17
jne 0x4c4f7d
mov ecx, 0x512a78
call fcn.00455480
push 1
push 0x11
mov ecx, 0x512a78
call fcn.00457470
push 0x7d0
push 1
push 0x512a78
call fcn.0045acb0
add esp, 0xc
mov ecx, 0x512a78
push edi
push 0x11
call fcn.00457470
push 0x2bc
push 1
push 0x512a78
call fcn.0045acb0
add esp, 0xc
mov ecx, 0x512a78
push 1
push 0x11
call fcn.00457470
push 0x258
push 1
push 0x512a78
call fcn.0045acb0
add esp, 0xc
lea edx, [esp + 0x64]
mov ecx, 0x512a78
push edx
call fcn.004555d0
lea ecx, [esp + 0x64]
call fcn.0046ed80
call fcn.00469a70
test al, al
jne 0x4c4f93
mov ecx, dword [0x5130ac]
push 1
call fcn.0046e9e0
sub esp, 0x24
lea ecx, [esp + 0x54]
mov esi, esp
mov dword [esp + 0x44], esp
push 0x1e
push 1
call fcn.00403fc0
mov eax, dword [eax]
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], eax
sub esp, 8
fild qword [esp + 0x58]
lea ecx, [esp + 0x60]
fstp qword [esp]
push 1
push edi
call fcn.00403fc0
mov cl, byte [eax]
push ecx
push esi
mov ecx, 0x512a78
call fcn.0045b230
lea ecx, [esp + 0x64]
call fcn.0046ee30
call fcn.00469a70
test al, al
jne 0x4c54a5
mov ecx, dword [0x5130ac]
push edi
call fcn.0046e9e0
lea ecx, [esp + 0x14]
call fcn.00454650
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x14]
mov al, byte [edx]
push eax
call fcn.00454260
push 1
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00453d70
mov ecx, dword [0x5130ac]
call fcn.0046e6b0
mov al, byte [esp + 0x40]
sub esp, 0x24
mov esi, esp
mov dword [esp + 0x44], esp
mov dword [esp + 0x44], esi
mov byte [esi], al
mov ecx, dword [esp + 0x68]
cmp ecx, edi
jne 0x4c504f
xor eax, eax
jmp 0x4c5058
mov eax, dword [esp + 0x6c]
sub eax, ecx
sar eax, 4
cmp eax, edi
jge 0x4c505e
xor eax, eax
shl eax, 4
push eax
call fcn.004dbc04
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00408220
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov byte [esp + 0xb4], 0xc
lea eax, [esp + 0x74]
push eax
lea ecx, [esi + 0x10]
call fcn.00405d60
mov ecx, dword [0x5130ac]
mov byte [esp + 0xb4], 2
call fcn.0046e5e0
jmp 0x4c54a5
cmp eax, 4
jne 0x4c54cc
call fcn.00469a70
test al, al
jne 0x4c50d1
mov ecx, dword [0x5130ac]
push 1
call fcn.0046e9e0
push 3
lea ecx, [esp + 0x34]
call fcn.00403fc0
mov dx, word [eax]
sub esp, 0x24
mov esi, esp
mov dword [esp + 0x44], esp
push edx
push 1
lea ecx, [esp + 0x5c]
call fcn.00403fc0
mov eax, dword [eax]
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], eax
sub esp, 8
fild qword [esp + 0x58]
lea ecx, [esp + 0x60]
fstp qword [esp]
push 0x1b
push edi
call fcn.00403fc0
mov cl, byte [eax]
push ecx
push esi
mov ecx, 0x512a78
call fcn.0045b230
lea ecx, [esp + 0x64]
call fcn.0046ee30
call fcn.00469a70
test al, al
jne 0x4c5204
mov ecx, dword [0x5130ac]
push edi
call fcn.0046e9e0
lea ecx, [esp + 0x14]
call fcn.00454650
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x14]
mov al, byte [edx]
push eax
call fcn.00454260
push 1
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00453d70
mov ecx, dword [0x5130ac]
call fcn.0046e6b0
mov al, byte [esp + 0x40]
sub esp, 0x24
mov esi, esp
mov dword [esp + 0x44], esp
mov dword [esp + 0x44], esi
mov byte [esi], al
mov ecx, dword [esp + 0x68]
cmp ecx, edi
jne 0x4c519a
xor eax, eax
jmp 0x4c51a3
mov eax, dword [esp + 0x6c]
sub eax, ecx
sar eax, 4
cmp eax, edi
jge 0x4c51a9
xor eax, eax
shl eax, 4
push eax
call fcn.004dbc04
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00408220
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
add esi, 0x10
lea eax, [esp + 0x74]
push eax
mov ecx, esi
mov byte [esp + 0xb8], 0xd
call fcn.00408160
mov cl, byte [esp + 0x84]
mov byte [esp + 0xb4], 2
mov byte [esi + 0x10], cl
mov ecx, dword [0x5130ac]
call fcn.0046e5e0
lea ecx, [esp + 0x40]
call fcn.0046f260
test ax, ax
jle case.default.0x4c46c2
push edi
lea ecx, [esp + 0x44]
call fcn.0046f250
mov ecx, dword [eax + 4]
cmp ecx, edi
je 0x4c54cc
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
cmp eax, 1
jle 0x4c54cc
mov dl, byte [esp + 0x40]
sub esp, 0x24
mov esi, esp
mov dword [esp + 0x44], esp
mov dword [esp + 0x44], esi
mov byte [esi], dl
mov ecx, dword [esp + 0x68]
cmp ecx, edi
jne 0x4c525b
xor eax, eax
jmp 0x4c5264
mov eax, dword [esp + 0x6c]
sub eax, ecx
sar eax, 4
cmp eax, edi
jge 0x4c526a
xor eax, eax
shl eax, 4
push eax
call fcn.004dbc04
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x70]
push eax
push ecx
mov ecx, esi
call fcn.00408220
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
add esi, 0x10
lea edx, [esp + 0x74]
push edx
mov ecx, esi
mov byte [esp + 0xb8], 0xe
call fcn.00408080
mov al, byte [esp + 0x84]
mov byte [esi + 0x10], al
mov ecx, dword [ebx + 0x28]
mov byte [esp + 0xb4], 2
call fcn.004c6120
jmp 0x4c54a5
cmp eax, 3
je 0x4c52e7
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], 1
call fcn.00453ea0
mov eax, dword [esp + 0x34]
push eax
jmp 0x4c54e2
call fcn.00469a70
test al, al
jne 0x4c52fd
mov ecx, dword [0x5130ac]
push 1
call fcn.0046e9e0
sub esp, 0x24
lea ecx, [esp + 0x54]
mov esi, esp
mov dword [esp + 0x40], esp
push 0x1e
push 1
call fcn.00403fc0
mov ecx, dword [eax]
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ecx
sub esp, 8
fild qword [esp + 0x58]
lea ecx, [esp + 0x60]
fstp qword [esp]
push 9
push edi
call fcn.00403fc0
mov dl, byte [eax]
mov ecx, 0x512a78
push edx
push esi
call fcn.0045b230
lea ecx, [esp + 0x64]
call fcn.0046ee30
call fcn.00469a70
test al, al
jne 0x4c54a5
mov ecx, dword [0x5130ac]
push edi
call fcn.0046e9e0
lea ecx, [esp + 0x14]
call fcn.00454650
mov eax, dword [esp + 0x34]
mov cl, byte [eax]
push ecx
lea ecx, [esp + 0x18]
call fcn.00454260
push 1
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00453d70
mov ecx, dword [0x5130ac]
call fcn.0046e6b0
mov al, byte [esp + 0x40]
sub esp, 0x24
mov ebp, esp
mov dword [esp + 0x40], esp
mov dword [esp + 0x48], ebp
mov byte [ebp], al
mov ecx, dword [esp + 0x68]
cmp ecx, edi
jne 0x4c53ba
xor eax, eax
jmp 0x4c53c3
mov eax, dword [esp + 0x6c]
sub eax, ecx
sar eax, 4
cmp eax, edi
jge 0x4c53c9
xor eax, eax
shl eax, 4
push eax
call fcn.004dbc04
mov dword [ebp + 4], eax
mov ecx, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
add esp, 4
mov esi, eax
cmp edi, ecx
mov ebx, ecx
mov dword [esp + 0x40], esi
je 0x4c5412
mov dword [esp + 0x4c], esi
test esi, esi
mov byte [esp + 0xb4], 0xf
je 0x4c5404
push edi
mov ecx, esi
call fcn.00403d40
add edi, 0x10
add esi, 0x10
cmp edi, ebx
mov dword [esp + 0x40], esi
jne 0x4c53ec
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
mov cl, byte [esp + 0x74]
mov byte [esp + 0xb4], 0x10
mov byte [ebp + 0x10], cl
mov ecx, dword [esp + 0x78]
test ecx, ecx
jne 0x4c5433
xor eax, eax
jmp 0x4c543c
mov eax, dword [esp + 0x7c]
sub eax, ecx
sar eax, 3
test eax, eax
jge 0x4c5442
xor eax, eax
lea edx, [eax*8]
push edx
call fcn.004dbc04
mov dword [ebp + 0x14], eax
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0x7c]
add esp, 4
cmp esi, ecx
mov ebx, ecx
mov edi, eax
je 0x4c547c
push esi
push edi
call fcn.00408cb0
add esi, 8
add esp, 8
add edi, 8
cmp esi, ebx
jne 0x4c5468
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x1c], edi
mov al, byte [esp + 0x84]
mov byte [esp + 0xb4], 2
mov byte [ebp + 0x20], al
mov ecx, dword [0x5130ac]
call fcn.0046e5e0
mov ebx, dword [esp + 0x20]
xor edi, edi
mov eax, dword [esp + 0x18]
and eax, 0xff
dec eax
jne 0x4c54be
push edi
push 5
mov ecx, 0x512a78
call fcn.00457470
lea ecx, [esp + 0x40]
call fcn.0046f260
test ax, ax
jg 0x4c5522
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], 1
call fcn.00453ea0
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004db420
add esp, 4
lea ecx, [esp + 0x40]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x90], 0xffffffff
call fcn.0046ed80
xor eax, eax
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0x18]
call fcn.004c81c0
mov esi, eax
cmp esi, edi
je 0x4c56ab
cmp esi, 0xffffffff
je 0x4c56ab
mov ecx, dword [ebx + 0x18]
call fcn.004c8710
cmp eax, 0xa
jne 0x4c5557
shr esi, 1
push esi
mov ecx, 0x512a78
call fcn.00456050
mov ecx, dword [ebx + 0x18]
call fcn.004c8710
cmp eax, 0x17
jne 0x4c56ab
push 0x3e8
mov ecx, 0x512a78
call fcn.00456050
jmp 0x4c56ab
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
cmp ecx, edi
je 0x4c559d
mov eax, edx
sub eax, ecx
sar eax, 2
cmp eax, 1
jle 0x4c559d
cmp eax, 4
jl 0x4c54cc
cmp esi, edi
je 0x4c54cc
mov al, byte [ecx]
cmp ecx, edi
mov byte [esp + 0x20], al
mov esi, 0x1e
je 0x4c55c2
sub edx, ecx
and edx, 0xfffffffc
cmp edx, 0x10
jne 0x4c55c2
mov si, word [ecx + 0xc]
call fcn.00469a70
test al, al
jne 0x4c55d8
mov ecx, dword [0x5130ac]
push 1
call fcn.0046e9e0
sub esp, 0x24
mov ecx, esp
mov dword [esp + 0x4c], esp
push esi
mov esi, dword [esp + 0x48]
push esi
push ecx
mov ecx, 0x512a78
call fcn.0045c2a0
lea ecx, [esp + 0x64]
call fcn.0046ee30
call fcn.00469a70
test al, al
jne 0x4c5692
mov ecx, dword [0x5130ac]
push edi
call fcn.0046e9e0
lea ecx, [esp + 0x14]
call fcn.00454650
push esi
lea ecx, [esp + 0x18]
call fcn.00454260
push 1
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00453d70
mov ecx, dword [0x5130ac]
call fcn.0046e6b0
sub esp, 0x24
lea eax, [esp + 0x64]
mov esi, esp
mov dword [esp + 0x4c], esp
push eax
mov ecx, esi
mov dword [esp + 0x50], esi
call fcn.004080f0
lea ecx, [esp + 0x74]
add esi, 0x10
push ecx
mov ecx, esi
mov byte [esp + 0xb8], 3
call fcn.00408160
mov dl, byte [esp + 0x84]
mov byte [esp + 0xb4], 2
mov byte [esi + 0x10], dl
mov ecx, dword [0x5130ac]
call fcn.0046e5e0
push 1
mov ecx, 0x512a78
call fcn.0045a140
push edi
push 5
mov ecx, 0x512a78
call fcn.00457470
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], 1
call fcn.00453ea0
mov eax, dword [esp + 0x34]
push eax
call fcn.004db420
add esp, 4
lea ecx, [esp + 0x40]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x90], 0xffffffff
call fcn.0046ed80
mov ecx, dword [esp + 0x88]
pop edi
mov eax, 1
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret