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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x83bd9c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x228
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 8
lea eax, [esp + 0x5c]
push eax
push ebx
call fcn.007ec9d0
push 4
lea ecx, [esp + 0x68]
push str.ANP2
push ecx
call fcn.008214d0
add esp, 0x18
test eax, eax
je 0x4d5172
push 4
lea edx, [esp + 0x5c]
push str.ANP3
push edx
call fcn.008214d0
add esp, 0xc
test eax, eax
je 0x4d5172
mov eax, dword [esp + 0x5c]
and eax, 3
je 0x4d4870
mov ecx, 4
sub ecx, eax
add dword [esp + 0x5c], ecx
push 8
lea edx, [esp + 0x24]
push edx
push ebx
call fcn.007ec9d0
mov eax, dword [esp + 0x30]
mov ecx, eax
add esp, 0xc
and ecx, 3
je 0x4d4898
mov edx, 4
sub edx, ecx
add eax, edx
mov dword [esp + 0x24], eax
push eax
lea eax, [esp + 0x134]
push eax
push ebx
call fcn.007ec9d0
lea ecx, [esp + 0x140]
push ecx
call fcn.004d3940
mov esi, eax
add esp, 0x10
test esi, esi
mov dword [esp + 0x38], esi
jne 0x4d490c
mov eax, dword [0xb4ea30]
mov esi, eax
shl esi, 5
push 0x10
lea edx, [esp + 0x138]
add esi, 0xb5d4a0
push edx
inc eax
push esi
mov dword [esp + 0x44], esi
mov dword [0xb4ea30], eax
call fcn.00821f40
mov eax, dword [esp + 0x13c]
mov ecx, dword [0xb4ea2c]
push esi
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], ecx
call fcn.004d39b0
add esp, 0x10
mov dword [esi + 0x1c], eax
jmp 0x4d4925
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x4d4925
mov edx, dword [esp + 0x130]
mov dword [esi + 0x18], edx
mov eax, dword [0xb4ea2c]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x18]
test eax, eax
mov ecx, dword [esi + 0x14]
mov byte [esi + 0x10], 1
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x48], 0
jle 0x4d5591
mov eax, dword [esp + 0x38]
sub eax, 0xb5d4a0
sar eax, 5
mov dword [esp + 0x54], eax
mov eax, ecx
lea edx, [eax + eax*2]
lea eax, [edx*8 + 0xb4ea40]
mov dword [esp + 0x4c], eax
push 8
lea ecx, [esp + 0x24]
push ecx
push ebx
call fcn.007ec9d0
mov eax, dword [esp + 0x30]
mov ecx, eax
add esp, 0xc
and ecx, 3
je 0x4d498b
mov edx, 4
sub edx, ecx
add eax, edx
mov dword [esp + 0x24], eax
push eax
lea eax, [esp + 0x134]
push eax
push ebx
call fcn.007ec9d0
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x58]
add esp, 0xc
inc ecx
mov dword [esp + 0x2c], ecx
mov edi, eax
lea ecx, [esp + 0x130]
add eax, 0x18
push ecx
mov ecx, edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x50], eax
call fcn.004cf2d0
mov al, byte [ebp + 0xc]
mov edx, dword [esp + 0x54]
mov byte [esp + 0x18], al
mov eax, dword [ebp + 0x10]
test eax, eax
mov dword [edi + 0xc], edx
je 0x4d4a0a
cmp byte [eax], 0
je 0x4d4a0a
mov esi, eax
mov ecx, dword [edi]
push eax
mov dword [esp + 0x20], ecx
call fcn.0053cf30
mov ecx, dword [esp + 0x20]
add esp, 4
cmp eax, ecx
jne 0x4d49fe
mov byte [esp + 0x18], 0
mov cl, byte [esi + 0x20]
add esi, 0x20
test cl, cl
mov eax, esi
jne 0x4d49e2
mov dl, byte [esp + 0x18]
push 8
lea eax, [esp + 0x94]
push eax
push ebx
mov byte [edi + 0xa], dl
mov byte [edi + 0xb], 0
call fcn.007ec9d0
mov eax, dword [esp + 0xa0]
add esp, 0xc
and eax, 3
je 0x4d4a42
mov ecx, 4
sub ecx, eax
add dword [esp + 0x94], ecx
push 8
lea edx, [esp + 0x24]
push edx
push ebx
call fcn.007ec9d0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
mov ecx, eax
add esp, 0xc
and ecx, 3
je 0x4d4a6e
mov edx, 4
sub edx, ecx
add eax, edx
mov dword [esp + 0x24], eax
push eax
lea eax, [esp + 0x134]
push eax
push ebx
call fcn.007ec9d0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
add edx, eax
mov eax, dword [esp + 0x13c]
mov dword [esp + 0x1c], edx
mov edi, eax
lea edx, [eax + eax*2]
mov word [ecx + 8], ax
mov esi, eax
lea eax, [edx*4 + 4]
push eax
mov dword [esp + 0x2c], edi
call fcn.0082119a
add esp, 0x10
mov dword [esp + 0x44], eax
test eax, eax
mov dword [esp + 0x23c], 1
je 0x4d4ae2
push fcn.004d0c30
push 0x4d0c10
push esi
lea edi, [eax + 4]
push 0xc
push edi
mov dword [eax], esi
call fcn.00821d30
mov eax, edi
mov edi, esi
jmp 0x4d4ae4
xor eax, eax
test edi, edi
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x23c], 0xffffffff
mov dword [ecx + 4], eax
jle 0x4d513b
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x40], 0
mov edi, edi
push 8
lea edx, [esp + 0x24]
push edx
push ebx
call fcn.007ec9d0
mov edx, dword [esp + 0x1c]
add edx, eax
mov eax, dword [esp + 0x30]
add esp, 0xc
and eax, 3
mov dword [esp + 0x10], edx
je 0x4d4b3e
mov ecx, 4
sub ecx, eax
add dword [esp + 0x24], ecx
push 8
lea edx, [esp + 0x24]
push edx
push ebx
call fcn.007ec9d0
mov esi, dword [esp + 0x1c]
add esi, eax
mov eax, dword [esp + 0x30]
mov ecx, eax
add esp, 0xc
and ecx, 3
mov dword [esp + 0x10], esi
je 0x4d4b70
mov edx, 4
sub edx, ecx
add eax, edx
mov dword [esp + 0x24], eax
push eax
lea eax, [esp + 0x134]
push eax
push ebx
call fcn.007ec9d0
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x4c]
add esi, eax
mov dword [esp + 0x1c], esi
mov esi, dword [ecx + 4]
add esi, edx
add esp, 0xc
lea edx, [esp + 0x130]
push edx
mov ecx, esi
call fcn.004d0c50
cmp dword [esp + 0x24], 0x2c
jne 0x4d4bbe
mov eax, dword [esp + 0x158]
push eax
mov ecx, esi
call fcn.004d0c70
mov eax, dword [esp + 0x14c]
test eax, eax
je 0x4d5121
push 8
lea ecx, [esp + 0x24]
push ecx
push ebx
mov byte [esp + 0x1b], 0
mov byte [esp + 0x23], 0
call fcn.007ec9d0
mov ecx, dword [esp + 0x1c]
push 4
lea edx, [esp + 0x30]
add ecx, eax
push str.KRTS
push edx
mov dword [esp + 0x28], ecx
call fcn.008214d0
add esp, 0x18
test eax, eax
jne 0x4d4c19
push eax
mov eax, dword [esp + 0x150]
push edi
push 1
mov byte [esp + 0x1b], 1
push eax
jmp 0x4d4c67
push 4
lea ecx, [esp + 0x24]
push str.KRT0
push ecx
call fcn.008214d0
add esp, 0xc
test eax, eax
jne 0x4d4c44
mov edx, dword [esp + 0x14c]
push eax
push edi
push 1
mov byte [esp + 0x23], 1
push edx
jmp 0x4d4c67
push 4
lea eax, [esp + 0x24]
push 0x85c6ec
push eax
call fcn.008214d0
add esp, 0xc
test eax, eax
jne 0x4d4c6e
mov ecx, dword [esp + 0x14c]
push eax
push edi
push eax
push ecx
mov ecx, esi
call fcn.004d0cd0
cmp word [esi + 6], 0
mov dword [esp + 0x50], 0
jle 0x4d5121
xor edi, edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x34], edi
mov al, byte [esp + 0xf]
test al, al
je 0x4d4e13
push 0x2c
lea edx, [esp + 0xe8]
push edx
push ebx
call fcn.007ec9d0
fld dword [esp + 0xf4]
fld dword [esp + 0xf8]
mov ecx, dword [esp + 0x1c]
fld dword [esp + 0xfc]
add ecx, eax
mov al, byte [esp + 0x24]
fst dword [esp + 0x138]
fstp dword [esp + 0x78]
add esp, 0xc
test al, al
fld dword [esp + 0xe4]
fchs
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x60]
fxch st(1)
fchs
fstp dword [esp + 0x64]
fchs
fstp dword [esp + 0x68]
je 0x4d4db5
mov al, byte [esi + 4]
mov edi, dword [esi + 8]
shr al, 1
test al, 1
mov eax, dword [esp + 0x34]
jne 0x4d4d17
mov eax, dword [esp + 0x3c]
fld dword [esp + 0x60]
add edi, eax
fmul dword [0x858bf8]
call fcn.00821b40
fld dword [esp + 0x64]
fmul dword [0x858bf8]
mov word [edi], ax
call fcn.00821b40
fld dword [esp + 0x68]
fmul dword [0x858bf8]
mov word [edi + 2], ax
call fcn.00821b40
fld dword [esp + 0x12c]
fmul dword [0x858bf8]
mov word [edi + 4], ax
call fcn.00821b40
mov word [edi + 6], ax
fld dword [esp + 0xf4]
fmul dword [0x85c6d8]
call fcn.00821b40
mov word [edi + 0xa], ax
fld dword [esp + 0xf8]
fmul dword [0x85c6d8]
call fcn.00821b40
mov word [edi + 0xc], ax
fld dword [esp + 0xfc]
fmul dword [0x85c6d8]
call fcn.00821b40
mov word [edi + 0xe], ax
fld dword [esp + 0x10c]
jmp 0x4d4f46
mov cl, byte [esi + 4]
mov eax, dword [esi + 8]
shr cl, 1
test cl, 1
je 0x4d4dc6
add eax, edi
jmp 0x4d4dca
add eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x60]
mov edx, eax
mov dword [edx], ecx
mov ecx, dword [esp + 0x64]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x68]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x6c]
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0xf4]
lea edx, [eax + 0x14]
mov dword [edx], ecx
mov ecx, dword [esp + 0xf8]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0xfc]
mov dword [edx + 8], ecx
mov edx, dword [esp + 0x10c]
jmp 0x4d50d9
mov al, byte [esp + 0x17]
test al, al
je 0x4d4fcd
push 0x20
lea eax, [esp + 0x9c]
push eax
push ebx
call fcn.007ec9d0
fld dword [esp + 0xa8]
fld dword [esp + 0xac]
mov ecx, dword [esp + 0x1c]
fld dword [esp + 0xb0]
add ecx, eax
mov al, byte [esp + 0x24]
fst dword [esp + 0x128]
fstp dword [esp + 0x98]
add esp, 0xc
test al, al
fld dword [esp + 0x98]
fchs
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x80]
fxch st(1)
fchs
fstp dword [esp + 0x84]
fchs
fstp dword [esp + 0x88]
je 0x4d4f60
mov cl, byte [esi + 4]
mov edi, dword [esi + 8]
mov eax, dword [esp + 0x34]
shr cl, 1
test cl, 1
jne 0x4d4ea4
mov eax, dword [esp + 0x3c]
fld dword [esp + 0x80]
add edi, eax
fmul dword [0x858bf8]
call fcn.00821b40
fld dword [esp + 0x84]
fmul dword [0x858bf8]
mov word [edi], ax
call fcn.00821b40
fld dword [esp + 0x88]
fmul dword [0x858bf8]
mov word [edi + 2], ax
call fcn.00821b40
fld dword [esp + 0x11c]
fmul dword [0x858bf8]
mov word [edi + 4], ax
call fcn.00821b40
mov word [edi + 6], ax
fld dword [esp + 0xa8]
fmul dword [0x85c6d8]
call fcn.00821b40
mov word [edi + 0xa], ax
fld dword [esp + 0xac]
fmul dword [0x85c6d8]
call fcn.00821b40
mov word [edi + 0xc], ax
fld dword [esp + 0xb0]
fmul dword [0x85c6d8]
call fcn.00821b40
mov word [edi + 0xe], ax
fld dword [esp + 0xb4]
fmul dword [0x858b34]
fadd dword [0x858b8c]
call fcn.00821b40
mov word [edi + 8], ax
jmp 0x4d50dc
mov dl, byte [esi + 4]
mov eax, dword [esi + 8]
shr dl, 1
test dl, 1
je 0x4d4f71
add eax, edi
jmp 0x4d4f75
add eax, dword [esp + 0x28]
mov edx, dword [esp + 0x80]
mov ecx, eax
mov dword [ecx], edx
mov edx, dword [esp + 0x84]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x88]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x8c]
mov dword [ecx + 0xc], edx
mov edx, dword [esp + 0xa8]
lea ecx, [eax + 0x14]
mov dword [ecx], edx
mov edx, dword [esp + 0xac]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0xb0]
mov dword [ecx + 8], edx
mov ecx, dword [esp + 0xb4]
mov dword [eax + 0x10], ecx
jmp 0x4d50dc
push 0x14
lea edx, [esp + 0xd4]
push edx
push ebx
call fcn.007ec9d0
fld dword [esp + 0xe0]
fld dword [esp + 0xe4]
mov ecx, dword [esp + 0x1c]
fld dword [esp + 0xe8]
add ecx, eax
mov al, byte [esp + 0x24]
fst dword [esp + 0xd0]
fstp dword [esp + 0x88]
add esp, 0xc
test al, al
fld dword [esp + 0xd0]
fchs
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x70]
fxch st(1)
fchs
fstp dword [esp + 0x74]
fchs
fstp dword [esp + 0x78]
je 0x4d50a0
mov al, byte [esi + 4]
mov edi, dword [esi + 8]
shr al, 1
test al, 1
mov eax, dword [esp + 0x34]
jne 0x4d5044
mov eax, dword [esp + 0x3c]
fld dword [esp + 0x70]
add edi, eax
fmul dword [0x858bf8]
call fcn.00821b40
fld dword [esp + 0x74]
fmul dword [0x858bf8]
mov word [edi], ax
call fcn.00821b40
fld dword [esp + 0x78]
fmul dword [0x858bf8]
mov word [edi + 2], ax
call fcn.00821b40
fld dword [esp + 0xc4]
fmul dword [0x858bf8]
mov word [edi + 4], ax
call fcn.00821b40
mov word [edi + 6], ax
fld dword [esp + 0xe0]
jmp 0x4d4f46
mov cl, byte [esi + 4]
mov eax, dword [esi + 8]
shr cl, 1
test cl, 1
je 0x4d50b1
add eax, edi
jmp 0x4d50b5
add eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x70]
mov edx, eax
mov dword [edx], ecx
mov ecx, dword [esp + 0x74]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x78]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x7c]
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0xe0]
mov dword [eax + 0x10], edx
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x50]
add ecx, 0x10
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x28]
add edi, 0xa
add ecx, 0x14
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x28], ecx
movsx ecx, word [esi + 6]
inc eax
add edi, 0x20
cmp eax, ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x44], edi
jl 0x4d4c93
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x1c]
add ecx, 0xc
dec eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x1c], eax
jne 0x4d4b10
mov al, byte [esp + 0x18]
test al, al
jne 0x4d5155
mov esi, dword [esp + 0x30]
mov ecx, esi
call fcn.004cf4e0
mov ecx, esi
call fcn.004cf2f0
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x38]
mov ecx, dword [edx + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x48], eax
jl 0x4d4963
jmp 0x4d5591
push 4
lea eax, [esp + 0x5c]
push str.ANP3
push eax
mov byte [esp + 0x1b], 0
call fcn.008214d0
add esp, 0xc
test eax, eax
jne 0x4d5194
mov byte [esp + 0xf], 1
push 0x18
lea ecx, [esp + 0xbc]
push ecx
push ebx
call fcn.007ec9d0
push 4
lea edx, [esp + 0x40]
push edx
push ebx
call fcn.007ec9d0
lea eax, [esp + 0xd0]
push eax
call fcn.004d3940
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x4d520a
mov eax, dword [0xb4ea30]
mov esi, eax
shl esi, 5
push 0x10
lea ecx, [esp + 0xbc]
add esi, 0xb5d4a0
push ecx
inc eax
push esi
mov dword [0xb4ea30], eax
call fcn.00821f40
mov edx, dword [esp + 0x3c]
mov eax, dword [0xb4ea2c]
push esi
mov dword [esi + 0x18], edx
mov dword [esi + 0x14], eax
call fcn.004d39b0
add esp, 0x10
mov dword [esi + 0x1c], eax
jmp 0x4d5221
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x4d5221
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x18], ecx
mov edx, dword [0xb4ea2c]
mov dword [esi + 0x14], edx
mov eax, dword [esi + 0x14]
mov byte [esi + 0x10], 1
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
test eax, eax
mov dword [esp + 0x44], 0
jle 0x4d5591
mov eax, dword [esp + 0x2c]
sub esi, 0xb5d4a0
lea ecx, [eax + eax*2]
sar esi, 5
lea edx, [ecx*8 + 0xb4ea40]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], edx
nop
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x2c]
mov esi, eax
add eax, 0x18
mov dword [esp + 0x48], eax
push 0x18
lea eax, [esp + 0xbc]
push eax
inc edx
push ebx
mov dword [esp + 0x34], 0
mov dword [esp + 0x24], esi
mov dword [esp + 0x38], edx
call fcn.007ec9d0
push 4
lea ecx, [esp + 0x50]
push ecx
push ebx
call fcn.007ec9d0
mov al, byte [esp + 0x27]
add esp, 0x18
test al, al
je 0x4d52e1
push 4
lea edx, [esp + 0x54]
push edx
push ebx
call fcn.007ec9d0
push 4
lea eax, [esp + 0x64]
push eax
push ebx
call fcn.007ec9d0
mov cl, byte [esp + 0x6c]
mov edx, dword [esp + 0x68]
and cl, 1
push 0
push edx
mov byte [esi + 0xa], cl
call fcn.0072f420
add esp, 0x20
mov dword [esp + 0x28], eax
mov esi, dword [esp + 0x18]
lea eax, [esp + 0xb8]
push eax
mov ecx, esi
call fcn.004cf2d0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
lea edx, [eax + eax*2]
mov word [esi + 8], ax
mov edi, eax
lea eax, [edx*4 + 4]
push eax
mov dword [esi + 0xc], ecx
mov byte [esi + 0xb], 0
call fcn.0082119a
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov dword [esp + 0x23c], 0
je 0x4d5349
push fcn.004d0c30
push 0x4d0c10
push edi
lea esi, [eax + 4]
push 0xc
push esi
mov dword [eax], edi
call fcn.00821d30
jmp 0x4d534b
xor esi, esi
mov eax, dword [esp + 0x40]
test eax, eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x23c], 0xffffffff
mov dword [ecx + 4], esi
mov byte [esp + 0x17], 1
mov dword [esp + 0x1c], 0
jle 0x4d5561
mov edi, dword [esp + 0x28]
mov dword [esp + 0x38], 0
push 0x18
lea edx, [esp + 0xbc]
push edx
push ebx
call fcn.007ec9d0
push 4
lea eax, [esp + 0x44]
push eax
push ebx
call fcn.007ec9d0
push 4
lea ecx, [esp + 0x2c]
push ecx
push ebx
call fcn.007ec9d0
push 4
lea edx, [esp + 0x64]
push edx
push ebx
call fcn.007ec9d0
mov eax, dword [esp + 0x48]
mov esi, dword [eax + 4]
mov eax, dword [esp + 0x68]
add esp, 0x30
lea ecx, [esp + 0xb8]
add esi, eax
push ecx
mov ecx, esi
call fcn.004d0c50
mov edx, dword [esp + 0x3c]
push edx
mov ecx, esi
call fcn.004d0c70
mov al, byte [esp + 0x17]
test al, al
mov eax, dword [esp + 0x34]
je 0x4d5411
cmp eax, 1
mov byte [esp + 0x17], 0
je 0x4d5409
cmp eax, 2
je 0x4d5409
mov ecx, dword [esp + 0x18]
mov byte [ecx + 0xa], 1
jmp 0x4d5411
mov edx, dword [esp + 0x18]
mov byte [edx + 0xa], 0
dec eax
cmp eax, 3
ja case.default.0x4d541b
jmp dword [eax*4 + 0x4d55b8]
mov eax, dword [esp + 0x10]
push edi
push 0
push 0
push eax
mov ecx, esi
call fcn.004d0cd0
mov cl, byte [esi + 4]
mov eax, dword [esp + 0x10]
shr cl, 1
lea edx, [eax + eax*4]
shl edx, 2
test cl, 1
mov ecx, dword [esi + 8]
push edx
push ecx
push ebx
call fcn.007ec9d0
mov al, byte [esp + 0x1b]
add esp, 0xc
test al, al
je 0x4d553d
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
lea edi, [edi + eax*4]
jmp case.default.0x4d541b
mov ecx, dword [esp + 0x10]
push edi
push 0
push 1
push ecx
mov ecx, esi
call fcn.004d0cd0
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 8]
mov dl, byte [esi + 4]
shl ecx, 5
push ecx
push eax
push ebx
shr dl, 1
call fcn.007ec9d0
mov al, byte [esp + 0x1b]
add esp, 0xc
test al, al
je 0x4d553d
mov edx, dword [esp + 0x10]
shl edx, 5
jmp 0x4d552f
mov eax, dword [esp + 0x10]
push edi
push 1
push 0
push eax
mov ecx, esi
call fcn.004d0cd0
mov cl, byte [esi + 4]
mov eax, dword [esp + 0x10]
shr cl, 1
lea edx, [eax + eax*4]
shl edx, 1
test cl, 1
mov ecx, dword [esi + 8]
push edx
push ecx
push ebx
call fcn.007ec9d0
mov al, byte [esp + 0x1b]
add esp, 0xc
test al, al
je 0x4d553d
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
lea edi, [edi + eax*2]
jmp case.default.0x4d541b
mov ecx, dword [esp + 0x10]
push edi
push 1
push 1
push ecx
mov ecx, esi
call fcn.004d0cd0
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 8]
mov dl, byte [esi + 4]
shl ecx, 4
push ecx
push eax
push ebx
shr dl, 1
call fcn.007ec9d0
mov al, byte [esp + 0x1b]
add esp, 0xc
test al, al
je 0x4d553d
mov edx, dword [esp + 0x10]
shl edx, 4
add edi, edx
mov al, byte [esp + 0xf]
test al, al
je 0x4d553d
or byte [esi + 4], 8
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
inc eax
add edx, 0xc
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], edx
jl 0x4d5382
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x18]
mov cl, byte [eax + 0xa]
test cl, cl
jne 0x4d557c
mov esi, eax
mov ecx, esi
call fcn.004cf4e0
mov ecx, esi
call fcn.004cf2f0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
inc eax
cmp eax, ecx
mov dword [esp + 0x44], eax
jl 0x4d5260
mov eax, dword [esp + 0x2c]
cmp eax, dword [0xb4ea2c]
jle 0x4d55a2
mov dword [0xb4ea2c], eax
mov ecx, dword [esp + 0x234]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret