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

Disassembly:
sub esp, 0xf4
mov eax, dword [esp + 0x10c]
mov edx, dword [esp + 0x110]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x114]
push ebx
mov ebx, dword [esp + 0x120]
mov dword [esp + 0x18], eax
mov al, byte [ecx + 0x3228]
push ebp
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x120]
push esi
push edi
mov edi, dword [esp + 0x10c]
test al, al
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], edx
mov byte [esp + 0x4c], 0
mov dword [esp + 0x5c], 0
je 0x4b7994
mov al, byte [edi + 0x2e4c]
test al, al
je 0x4b7994
mov al, byte [ebx + 0x30]
test al, al
je 0x4b7994
mov eax, dword [edi + 0x2e54]
mov byte [esp + 0x4c], 1
mov dword [esp + 0x5c], eax
jmp 0x4b7a3d
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x110]
push edx
mov eax, dword [ecx + 0x3378]
lea ecx, [eax + 8]
call fcn.004cae20
mov dl, byte [esp + 0x4c]
lea esi, [edi + 0x2a14]
xor ebp, ebp
mov ecx, esi
test eax, eax
je 0x4b79dd
test al, 1
je 0x4b79d2
cmp dword [ecx - 0x10], 0x16
jne 0x4b79d2
mov edx, dword [ecx]
mov dword [esp + 0x5c], edx
mov dl, 1
sar eax, 1
inc ebp
add ecx, 0x18
cmp ebp, 0x20
jl 0x4b79bc
test dl, dl
mov byte [esp + 0x4c], dl
jne 0x4b7a3d
mov eax, dword [edi + 0x2e00]
test eax, eax
je 0x4b7a3d
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x110]
push ecx
mov eax, dword [eax + 0x3378]
lea ecx, [eax + 8]
call fcn.004cae20
and eax, dword [edi + 0x2e00]
je 0x4b7a3d
mov ecx, esi
xor edx, edx
mov esi, 5
test eax, eax
je 0x4b7a3d
test al, 1
je 0x4b7a32
cmp dword [ecx - 0x10], esi
je 0x4b7a32
mov ebp, dword [ecx]
mov byte [esp + 0x4c], 1
mov dword [esp + 0x5c], ebp
sar eax, 1
inc edx
add ecx, 0x18
cmp edx, 0x20
jl 0x4b7a1a
mov eax, dword [edi + 0x2e3c]
test eax, eax
je 0x4b7a5e
mov al, byte [esp + 0x4c]
test al, al
jne 0x4b7a5e
mov al, byte [edi + 0x2da4]
mov byte [esp + 0x1b], 1
test al, al
jne 0x4b7a63
mov byte [esp + 0x1b], 0
mov ebp, dword [esp + 0x130]
mov edx, dword [esp + 0x14]
xor esi, esi
mov ecx, dword [edx + 0x3378]
cmp ebp, esi
sete al
mov byte [esp + 0x56], al
mov byte [esp + 0x13], al
mov eax, dword [ecx + 0x4b0]
imul eax, dword [edi + 0x2d74]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x110]
push eax
call fcn.004c6b60
cmp ebp, esi
mov dword [esp + 0x64], eax
jg 0x4b7aad
xor eax, eax
jmp 0x4b7ac1
cmp ebp, dword [ebx + 0x58]
jge 0x4b7abe
mov eax, dword [ebx + 4]
cmp eax, esi
je 0x4b7abe
mov eax, dword [eax + ebp*4]
jmp 0x4b7ac1
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x44]
mov dword [esp + 0x38], eax
mov dword [esp + 0x58], esi
mov dword [esp + 0x44], esi
mov edx, dword [ecx + eax*4]
mov ecx, dword [ebx + 0x58]
cmp ebp, ecx
mov dword [esp + 0x50], edx
jge 0x4b7b27
cmp ebp, esi
jg 0x4b7ae8
mov dword [esp + 0x58], esi
jmp 0x4b7aff
mov eax, dword [ebx + 4]
cmp eax, esi
je 0x4b7af8
mov eax, dword [eax + ebp*4]
mov dword [esp + 0x58], eax
jmp 0x4b7aff
mov edx, dword [ebx + 0x18]
mov dword [esp + 0x58], edx
lea eax, [ebp + 1]
cmp eax, esi
jg 0x4b7b0c
mov dword [esp + 0x44], esi
jmp 0x4b7b27
cmp eax, ecx
jge 0x4b7b20
mov edx, dword [ebx + 4]
cmp edx, esi
je 0x4b7b20
mov eax, dword [edx + eax*4]
mov dword [esp + 0x44], eax
jmp 0x4b7b27
mov edx, dword [ebx + 0x18]
mov dword [esp + 0x44], edx
mov eax, dword [esp + 0x14]
mov byte [esp + 0x88], 0
test byte [eax + 0x3368], 1
je 0x4b7b6a
lea eax, [ebp + 1]
cmp eax, ecx
jge 0x4b7b6a
cmp eax, esi
jg 0x4b7b4b
xor eax, eax
jmp 0x4b7b5e
cmp eax, ecx
jge 0x4b7b5b
mov edx, dword [ebx + 4]
cmp edx, esi
je 0x4b7b5b
mov eax, dword [edx + eax*4]
jmp 0x4b7b5e
mov eax, dword [ebx + 0x18]
cmp eax, esi
setne dl
mov byte [esp + 0x88], dl
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x108]
mov edx, dword [eax + 0x3374]
test edx, edx
je 0x4b7ca7
cmp ebp, ecx
jge 0x4b7ca7
test ebp, ebp
jg 0x4b7b93
xor ebp, ebp
jmp 0x4b7ba2
mov eax, dword [ebx + 4]
test eax, eax
je 0x4b7b9f
mov ebp, dword [eax + ebp*4]
jmp 0x4b7ba2
mov ebp, dword [ebx + 0x18]
test ebp, ebp
setne al
test al, al
je 0x4b7ca7
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x80], eax
mov eax, dword [edi + 0x2d70]
mov ebp, dword [esp + 0x118]
imul eax, edx
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x50]
sub ecx, ecx
mov edx, dword [esi]
add ecx, ebp
add eax, ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x80], eax
mov eax, dword [edi + 0xc10]
push eax
mov eax, dword [esp + 0x20]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0xc], eax
mov ecx, esi
call dword [edx + 0x38]
mov ecx, dword [esp + 0x14]
mov al, 2
test byte [ecx + 0x3368], al
je 0x4b7c8b
mov edx, ecx
test byte [edx + 0x336c], al
je 0x4b7c42
mov eax, dword [esp + 0x80]
mov ecx, dword [edi + 0x2d70]
sub eax, ecx
mov dword [esp + 0x78], eax
jmp 0x4b7c55
mov eax, dword [edi + 0x2d70]
mov ecx, dword [esp + 0x78]
add eax, ecx
mov dword [esp + 0x80], eax
mov eax, dword [edi + 0x2da0]
mov edx, dword [esp + 0x78]
push eax
push 0
mov eax, dword [esp + 0x28]
sub esp, 0x10
mov ecx, esp
push esi
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x9c]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x44]
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x30]
call fcn.004b7560
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x3374]
imul edx, dword [edi + 0x2d70]
add ebp, edx
mov dword [esp + 0x118], ebp
jmp 0x4b7cae
mov ebp, dword [esp + 0x118]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x2c], eax
mov cl, byte [edx + 0x31d6]
test cl, cl
je 0x4b7fd0
lea ecx, [eax*4 + 4]
mov dword [esp + 0x40], ecx
mov ecx, 1
sub ecx, dword [esp + 0x64]
mov dword [esp + 0x6c], ecx
cmp eax, dword [esp + 0x44]
jge 0x4b7fd0
mov edx, dword [ebx + 0x3c]
lea ecx, [edx + eax]
mov dl, byte [edx + eax]
cmp dl, byte [ecx + 1]
mov byte [esp + 0x60], dl
jne 0x4b7d4c
mov ecx, dword [esp + 0x44]
dec ecx
cmp eax, ecx
je 0x4b7d4c
mov edx, dword [ebx + 0x38]
lea ecx, [edx + eax]
movsx edx, byte [edx + eax]
test edx, edx
jl 0x4b7d18
cmp edx, 0x20
jl 0x4b7d4c
movsx ecx, byte [ecx + 1]
test ecx, ecx
jl 0x4b7d25
cmp ecx, 0x20
jl 0x4b7d4c
mov edx, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x2c]
cmp edx, ecx
je 0x4b7d40
mov ecx, dword [esp + 0x64]
lea ecx, [eax + ecx + 1]
cmp ecx, edx
je 0x4b7d4c
cmp ecx, dword [ebx + 0x2c]
je 0x4b7d4c
mov edx, dword [ebx + 0x34]
dec edx
cmp eax, edx
jne 0x4b7fae
mov eax, dword [esp + 0x38]
mov ecx, dword [ebx + 0x44]
mov edx, dword [esp + 0x50]
shl eax, 2
mov eax, dword [ecx + eax]
sub eax, edx
mov edx, dword [esp + 0x40]
add eax, ebp
mov ecx, dword [ecx + edx]
mov edx, dword [esp + 0x50]
sub ecx, edx
mov dword [esp + 0x1c], eax
add ecx, ebp
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x124]
cmp eax, ecx
jg 0x4b7f96
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x11c]
cmp eax, ecx
jl 0x4b7f96
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x2c]
mov ecx, dword [ebx + 0x28]
and eax, 0xff
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x64]
add eax, edx
cmp eax, ecx
jl 0x4b7dc8
mov edx, dword [ebx + 0x2c]
cmp eax, edx
jge 0x4b7dc8
cmp ecx, edx
mov byte [esp + 0x3c], 1
jne 0x4b7dcd
mov byte [esp + 0x3c], 0
mov ecx, dword [ebx + 0x4c]
cmp ecx, 0xffffffff
je 0x4b7de5
cmp eax, ecx
jl 0x4b7de5
mov ecx, dword [ebx + 0x50]
mov byte [esp + 0x34], 1
cmp eax, ecx
jl 0x4b7dea
mov byte [esp + 0x34], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x34]
push ebx
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x5c]
push ecx
push edx
push eax
lea ecx, [esp + 0xa8]
push edi
push ecx
mov ecx, dword [esp + 0x38]
call fcn.004b7410
mov edx, dword [ebx + 0x38]
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax]
mov cl, byte [ecx + edx]
cmp cl, 9
jne 0x4b7e78
mov cl, byte [esp + 0x1b]
test cl, cl
je 0x4b7e4b
mov cl, byte [esp + 0x13]
test cl, cl
je 0x4b7e45
cmp dword [edi + 0x2e3c], 1
jne 0x4b7e4b
mov eax, dword [edi + 0x2dac]
mov ecx, dword [esp + 0x1c]
push eax
sub esp, 0x10
mov edx, dword [esi]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x38]
jmp 0x4b7f96
movsx ecx, cl
test ecx, ecx
jl 0x4b7e8b
cmp ecx, 0x20
jge 0x4b7e8b
mov byte [esp + 0x13], 0
jmp 0x4b7e4b
mov ecx, dword [esp + 0x1c]
push eax
sub esp, 0x10
mov edx, dword [esi]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x38]
mov eax, dword [edi + 0x2e3c]
test eax, eax
jne 0x4b7ed7
mov al, byte [esp + 0x13]
test al, al
je 0x4b7f96
mov al, byte [edi + 0x2e40]
test al, al
je 0x4b7f96
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
xor ecx, ecx
sub eax, edx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x48], eax
js 0x4b7f96
lea eax, [edx*4]
mov dword [esp + 0x30], eax
jmp 0x4b7f02
mov edx, dword [esp + 0x38]
mov eax, dword [ebx + 0x38]
add edx, ecx
cmp byte [edx + eax], 0x20
jne 0x4b7f75
mov al, byte [esp + 0x1b]
test al, al
je 0x4b7f7a
mov al, byte [esp + 0x13]
test al, al
je 0x4b7f26
cmp dword [edi + 0x2e3c], 1
jne 0x4b7f7a
mov eax, dword [ebx + 0x44]
mov edx, dword [esp + 0x30]
mov eax, dword [eax + edx]
mov edx, dword [esp + 0x38]
add edx, ecx
mov ecx, dword [ebx + 0x44]
add eax, ebp
mov ecx, dword [ecx + edx*4 + 4]
mov edx, dword [esi]
add ecx, ebp
mov ebp, dword [edi + 0x2dac]
push ebp
sub esp, 0x10
mov ebp, esp
mov dword [ebp], eax
mov eax, dword [esp + 0x34]
mov dword [ebp + 4], eax
mov dword [ebp + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [ebp + 0xc], ecx
mov ecx, esi
call dword [edx + 0x38]
mov ebp, dword [esp + 0x118]
mov ecx, dword [esp + 0x68]
jmp 0x4b7f7a
mov byte [esp + 0x13], 0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x48]
inc ecx
add edx, 4
cmp ecx, eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x30], edx
jle 0x4b7efe
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x64]
add eax, edx
add eax, ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x40]
inc eax
add edx, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x14]
mov cl, byte [edx + 0x31d6]
test cl, cl
jne 0x4b7ce0
mov al, byte [edx + 0x31d6]
test al, al
je 0x4b8046
mov ecx, dword [edi + 0x2da0]
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x13c]
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x124]
push eax
push ebp
push ecx
mov ecx, dword [esp + 0x13c]
push edx
push ebx
mov edx, dword [esp + 0x148]
sub esp, 0x10
mov eax, esp
push edi
push esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x164]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x168]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0xc], edx
call fcn.004b76d0
mov ecx, dword [esp + 0x130]
mov al, byte [esp + 0x56]
test ecx, ecx
mov byte [esp + 0x13], al
jg 0x4b8063
mov dword [esp + 0x38], 0
jmp 0x4b807f
cmp ecx, dword [ebx + 0x58]
jge 0x4b8078
mov eax, dword [ebx + 4]
test eax, eax
je 0x4b8078
mov ecx, dword [eax + ecx*4]
mov dword [esp + 0x38], ecx
jmp 0x4b807f
mov edx, dword [ebx + 0x18]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x44]
cmp edx, eax
mov dword [esp + 0x2c], edx
jge 0x4b8a18
mov eax, dword [esp + 0x64]
lea ecx, [edx + eax]
mov eax, dword [ebx + 0x3c]
add eax, edx
mov dword [esp + 0x34], ecx
mov cl, byte [eax]
cmp cl, byte [eax + 1]
mov byte [esp + 0x60], cl
jne 0x4b80f9
mov ecx, dword [esp + 0x44]
dec ecx
cmp edx, ecx
je 0x4b80f9
mov eax, dword [ebx + 0x38]
add eax, edx
movsx ecx, byte [eax]
test ecx, ecx
jl 0x4b80c8
cmp ecx, 0x20
jl 0x4b80f9
movsx eax, byte [eax + 1]
test eax, eax
jl 0x4b80d5
cmp eax, 0x20
jl 0x4b80f9
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x2c]
cmp eax, ecx
je 0x4b80ed
mov ecx, dword [esp + 0x34]
inc ecx
cmp ecx, eax
je 0x4b80f9
cmp ecx, dword [ebx + 0x2c]
je 0x4b80f9
mov eax, dword [ebx + 0x34]
dec eax
cmp edx, eax
jne 0x4b8a07
mov ecx, dword [esp + 0x38]
lea eax, [ecx*4]
mov ecx, dword [ebx + 0x44]
mov eax, dword [ecx + eax]
mov ecx, dword [ecx + edx*4 + 4]
sub eax, dword [esp + 0x50]
add eax, ebp
inc edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
sub ecx, edx
add ecx, ebp
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x124]
cmp eax, ecx
jg 0x4b89fa
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x11c]
cmp edx, eax
jl 0x4b89fa
mov eax, dword [esp + 0x60]
and eax, 0xff
lea ecx, [eax + eax*4]
shl ecx, 4
add ecx, edi
mov dword [esp + 0x70], ecx
mov edx, dword [ecx + 0x208]
lea ecx, [eax + eax*4 + 0x23]
shl ecx, 4
add ecx, edi
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x48], ecx
mov ecx, dword [ebx + 0x4c]
cmp ecx, 0xffffffff
je 0x4b81a3
cmp edx, ecx
jl 0x4b81a3
mov ecx, dword [esp + 0x14]
cmp edx, dword [ecx + 0x3350]
jge 0x4b81a3
mov cl, byte [edi + 0x2dd8]
test cl, cl
je 0x4b81a3
mov ecx, dword [edi + 0x2de0]
mov dword [esp + 0x3c], ecx
cmp edx, dword [ebx + 0x28]
jl 0x4b8272
mov ecx, dword [ebx + 0x2c]
cmp edx, ecx
jge 0x4b8272
cmp dword [ebx + 0x28], ecx
je 0x4b826e
mov cl, byte [edi + 0x2d78]
mov byte [esp + 0x6c], 1
test cl, cl
je 0x4b81d9
mov edx, dword [edi + 0x2d80]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x34]
mov ecx, dword [ebx + 0x4c]
cmp ecx, 0xffffffff
je 0x4b81f5
cmp edx, ecx
jl 0x4b81f5
mov ecx, dword [ebx + 0x50]
mov byte [esp + 0x68], 1
cmp edx, ecx
jl 0x4b81fa
mov byte [esp + 0x68], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x68]
push ebx
push ecx
mov ecx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x5c]
push eax
push ecx
mov ecx, dword [esp + 0x2c]
push edx
lea eax, [esp + 0x10c]
push edi
push eax
call fcn.004b7410
mov ecx, dword [eax]
mov eax, dword [ebx + 0x38]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x40], ecx
mov al, byte [eax + edx]
cmp al, 9
jne 0x4b842c
mov eax, dword [esp + 0x14]
mov cl, byte [eax + 0x31d6]
test cl, cl
jne 0x4b82a8
mov al, byte [esp + 0x1b]
test al, al
je 0x4b827c
mov al, byte [esp + 0x13]
test al, al
je 0x4b8266
cmp dword [edi + 0x2e3c], 1
jne 0x4b827c
mov eax, dword [edi + 0x2dac]
jmp 0x4b8280
mov edx, dword [esp + 0x34]
mov byte [esp + 0x6c], 0
jmp 0x4b81dd
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
push eax
sub esp, 0x10
mov edx, dword [esi]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x38]
mov eax, dword [edi + 0x2e3c]
test eax, eax
jne 0x4b82c8
mov al, byte [esp + 0x13]
test al, al
je 0x4b83a2
mov al, byte [edi + 0x2e40]
test al, al
je 0x4b82e8
mov al, byte [edi + 0x2d98]
test al, al
je 0x4b82dc
mov edx, dword [edi + 0x2da0]
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x18]
mov al, byte [esp + 0x13]
test al, al
je 0x4b83a2
mov al, byte [edi + 0x2e40]
test al, al
je 0x4b83a2
mov ecx, dword [ebx + 0x44]
mov edx, dword [esp + 0x2c]
mov eax, dword [ecx + edx*4]
cdq
idiv dword [esp + 0x74]
mov edx, dword [esp + 0x2c]
mov ebp, eax
mov eax, dword [esp + 0x74]
imul ebp, eax
inc edx
cmp ebp, dword [ecx + edx*4]
jge 0x4b83a2
mov edx, dword [esp + 0x118]
add edx, ebp
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x2c]
cmp ebp, dword [ecx + edx*4]
jl 0x4b8389
test ebp, ebp
jle 0x4b8389
mov edx, dword [ebx + 0x20]
cmp edx, ebp
mov edx, dword [esp + 0x1c]
sete al
push eax
mov eax, dword [esp + 0x24]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x38]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 8], edx
mov edx, dword [edi + 0x2d64]
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x128]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push esi
call fcn.004b74e0
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
add ecx, eax
add ebp, eax
mov dword [esp + 0x30], ecx
mov ecx, dword [ebx + 0x44]
inc edx
cmp ebp, dword [ecx + edx*4]
jl 0x4b8331
mov eax, dword [edi + 0x2e3c]
test eax, eax
je 0x4b890e
mov cl, byte [esp + 0x13]
test cl, cl
je 0x4b83c1
cmp eax, 1
jne 0x4b890e
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
add ecx, 4
lea ebp, [eax + 1]
mov eax, dword [edi + 0x2d6c]
mov dword [esp + 0xc4], ecx
mov ecx, dword [esp + 0x28]
dec edx
sub ecx, eax
mov eax, dword [edi + 0x2d64]
mov dword [esp + 0xc8], edx
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
add eax, edx
mov edx, dword [esp + 0xc4]
push eax
sub esp, 0x10
mov eax, esp
push esi
mov dword [eax], ebp
mov dword [eax + 4], edx
mov edx, dword [esp + 0xe0]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
call fcn.004b6af0
add esp, 0x18
jmp 0x4b890e
movsx ecx, al
test ecx, ecx
jl 0x4b8623
cmp ecx, 0x20
jge 0x4b8623
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x13], 0
cmp dword [ecx + 0x31c8], 0x20
jge 0x4b85c3
push eax
call fcn.004b3d50
mov edx, dword [esp + 0x18]
mov dword [esp + 0x4c], eax
add esp, 4
mov al, byte [edx + 0x31d6]
test al, al
jne 0x4b849d
mov ecx, dword [esp + 0x40]
mov eax, dword [esi]
push ecx
mov ecx, dword [esp + 0x20]
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [edx + 0xc], ecx
mov ecx, esi
call dword [eax + 0x38]
mov edx, dword [esi]
lea ebx, [edi + 0xd70]
push ebx
mov ecx, esi
call dword [edx + 0x68]
mov ebp, eax
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x60]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0xb4], ecx
mov ecx, dword [edi + 0x2d68]
mov edx, dword [esp + 0x28]
sub eax, ebp
mov ebp, ecx
mov dword [esp + 0xb0], ebx
sub ebp, eax
mov eax, dword [esp + 0x20]
add ebp, eax
mov dword [esp + 0xbc], edx
lea eax, [ecx + eax + 1]
inc ebx
mov dword [esp + 0xbc], eax
dec eax
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x3c]
push eax
lea ecx, [ebp + 1]
mov dword [esp + 0xa8], ebp
sub esp, 0x10
mov dword [esp + 0xb8], ecx
mov eax, dword [esp + 0xb8]
mov ecx, esp
mov edx, dword [esi]
mov dword [ecx], ebx
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xc0]
mov dword [ecx + 0xc], eax
mov ecx, esi
call dword [edx + 0x38]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x78], ebx
inc ebx
push ecx
mov dword [esp + 0x7c], ebx
mov ebx, dword [esp + 0x4c]
dec eax
push edx
mov dword [esp + 0x84], ebp
mov ebp, dword [esi]
push ebx
mov dword [esp + 0x8c], eax
call fcn.004b6ad0
add esp, 4
mov edx, dword [esp + 0x80]
push eax
mov eax, dword [edi + 0x2d68]
push ebx
mov ebx, dword [esp + 0x30]
add eax, ebx
push eax
lea eax, [edi + 0xd70]
push eax
mov eax, dword [esp + 0x94]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0xa8]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xe4]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, esi
call dword [ebp + 0x4c]
mov ebx, dword [esp + 0x12c]
jmp 0x4b890e
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov edx, dword [esi]
mov byte [esp + 0x57], 0
mov cl, byte [eax + 0x31c8]
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x56], cl
mov ecx, dword [esp + 0x40]
push eax
push ecx
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x5e]
push 1
push eax
mov eax, dword [edi + 0x2d68]
add eax, ecx
push eax
lea eax, [edi + 0xd70]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x48]
jmp 0x4b890e
mov edx, dword [esp + 0x70]
mov al, byte [edx + 0x22c]
test al, al
je 0x4b86e8
mov eax, dword [esp + 0x14]
mov edx, dword [esi]
mov cl, byte [eax + 0x31d6]
test cl, cl
je 0x4b8695
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x3c]
sub ecx, eax
inc ecx
push ecx
mov ecx, dword [ebx + 0x38]
add ecx, eax
mov eax, dword [edi + 0x2d68]
push ecx
mov ecx, dword [esp + 0x2c]
add eax, ecx
mov ecx, dword [esp + 0x54]
push eax
push ecx
mov ecx, dword [esp + 0x30]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x50]
jmp 0x4b86e8
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x34]
sub ecx, eax
inc ecx
push ecx
mov ecx, dword [ebx + 0x38]
add ecx, eax
mov eax, dword [edi + 0x2d68]
push ecx
mov ecx, dword [esp + 0x30]
add eax, ecx
mov ecx, dword [esp + 0x58]
push eax
push ecx
mov ecx, dword [esp + 0x34]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x48]
mov eax, dword [edi + 0x2e3c]
test eax, eax
jne 0x4b870c
mov al, byte [esp + 0x13]
test al, al
je 0x4b890e
mov al, byte [edi + 0x2e40]
test al, al
je 0x4b890e
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x38]
sub ecx, eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], ecx
js 0x4b890e
lea ecx, [eax*4]
mov dword [esp + 0x30], ecx
jmp 0x4b8739
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
add edx, eax
mov eax, dword [ebx + 0x38]
cmp byte [edx + eax], 0x20
jne 0x4b88e9
mov eax, dword [edi + 0x2e3c]
test eax, eax
je 0x4b8879
mov cl, byte [edi + 0x2d98]
test cl, cl
je 0x4b876e
mov ecx, dword [edi + 0x2da0]
mov dword [esp + 0x3c], ecx
mov cl, byte [esp + 0x13]
test cl, cl
je 0x4b877f
cmp eax, 1
jne 0x4b8879
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
mov eax, dword [ebx + 0x44]
add edx, ecx
mov ecx, dword [eax + edx*4 + 4]
mov edx, dword [esp + 0x30]
mov eax, dword [eax + edx]
mov dword [esp + 0x8c], eax
add eax, ecx
cdq
sub eax, edx
mov ebp, eax
mov eax, dword [esp + 0x14]
sar ebp, 1
mov dl, byte [eax + 0x31d6]
test dl, dl
jne 0x4b8814
mov al, byte [esp + 0x1b]
test al, al
je 0x4b8814
mov al, byte [esp + 0x13]
test al, al
je 0x4b87ce
cmp dword [edi + 0x2e3c], 1
jne 0x4b8814
mov edx, dword [esp + 0x118]
mov eax, dword [esp + 0x8c]
add ecx, edx
add eax, edx
mov dword [esp + 0xfc], ecx
mov ecx, dword [edi + 0x2dac]
push ecx
mov edx, dword [esi]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x110]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0xc], eax
mov ecx, esi
call dword [edx + 0x38]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x118]
sub ebp, eax
mov eax, dword [edi + 0x2d64]
add ebp, edx
cdq
lea ecx, [ebp + 1]
sub eax, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0xd8], ecx
mov ecx, dword [esp + 0x3c]
push ecx
sub esp, 0x10
mov ecx, esp
sar eax, 1
add eax, edx
mov dword [ecx], ebp
lea edx, [eax + 1]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 0xf0], edx
mov edx, dword [esi]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xf0]
mov dword [ecx + 0xc], eax
mov ecx, esi
call dword [edx + 0x38]
mov ebp, dword [esp + 0x118]
mov al, byte [esp + 0x13]
test al, al
je 0x4b88ee
mov al, byte [edi + 0x2e40]
test al, al
je 0x4b88ee
mov ecx, dword [ebx + 0x44]
mov edx, dword [esp + 0x30]
mov ecx, dword [edx + ecx]
test ecx, ecx
jle 0x4b88ee
mov eax, ecx
cdq
idiv dword [esp + 0x74]
test edx, edx
jne 0x4b88ee
cmp dword [ebx + 0x20], ecx
sete al
push eax
mov eax, dword [esp + 0x20]
sub esp, 0x10
add ecx, ebp
mov edx, esp
push ecx
mov ecx, dword [edi + 0x2d64]
mov dword [edx], eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x30]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x40]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x44]
mov dword [edx + 0xc], eax
mov edx, dword [esp + 0x130]
push edx
push esi
call fcn.004b74e0
jmp 0x4b88ee
mov byte [esp + 0x13], 0
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
inc eax
add edx, 4
cmp eax, ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], edx
jle 0x4b8735
mov eax, dword [ebx + 0x4c]
cmp eax, 0xffffffff
je 0x4b898f
mov cl, byte [edi + 0x2df0]
test cl, cl
je 0x4b898f
mov ecx, dword [esp + 0x34]
cmp ecx, eax
jl 0x4b898f
cmp ecx, dword [ebx + 0x50]
jge 0x4b898f
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x9c], edx
mov edx, dword [edi + 0x2d68]
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0x1c]
lea eax, [edx + eax + 1]
lea edx, [eax + 1]
mov dword [esp + 0x9c], edx
mov dl, byte [edi + 0x2dd8]
test dl, dl
mov edx, dword [esi]
je 0x4b896f
mov ebp, dword [edi + 0x2de0]
jmp 0x4b8973
mov ebp, dword [esp + 0x3c]
push ebp
sub esp, 0x10
mov ebp, esp
mov dword [ebp], ecx
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0xb0]
jmp 0x4b89eb
mov ecx, dword [esp + 0x70]
mov al, byte [ecx + 0x225]
test al, al
je 0x4b89f3
mov ebp, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push ebp
mov dword [esp + 0xf0], edx
mov edx, dword [edi + 0x2d68]
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0xf8], eax
lea eax, [edx + eax + 1]
mov dword [ebp], ecx
lea edx, [eax + 1]
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x100], edx
mov edx, dword [esi]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x100]
mov ecx, esi
mov dword [ebp + 0xc], eax
call dword [edx + 0x38]
mov ebp, dword [esp + 0x118]
mov ecx, dword [esp + 0x2c]
mov edx, ecx
lea eax, [ecx + 1]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x44]
inc edx
cmp edx, eax
mov dword [esp + 0x2c], edx
jl 0x4b8093
mov edx, dword [esp + 0x14]
mov eax, 1
mov ecx, dword [edx + 0x3378]
mov ecx, dword [ecx + 0x498]
shl eax, cl
cmp eax, 0x100
mov dword [esp + 0x30], eax
jge 0x4b8b48
lea edx, [edi + 0x2d04]
mov dword [esp + 0x60], edx
mov ecx, dword [esp + 0x58]
or eax, 0xffffffff
mov edx, ecx
mov dword [esp + 0x48], eax
cmp edx, dword [esp + 0x44]
mov dword [esp + 0x34], ecx
jg 0x4b8b28
test eax, eax
jge 0x4b8a8e
cmp ecx, dword [esp + 0x44]
jge 0x4b8a86
mov edx, dword [ebx + 0x40]
movsx ecx, byte [edx + ecx]
mov edx, dword [esp + 0x30]
test edx, ecx
mov ecx, dword [esp + 0x34]
je 0x4b8a86
mov eax, ecx
mov dword [esp + 0x48], eax
test eax, eax
jl 0x4b8b17
cmp ecx, dword [esp + 0x44]
jge 0x4b8aa3
mov edx, dword [ebx + 0x40]
movsx ecx, byte [edx + ecx]
mov edx, dword [esp + 0x30]
test edx, ecx
jne 0x4b8b13
mov ecx, dword [ebx + 0x44]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x50]
mov eax, dword [ecx + eax*4]
sub eax, edx
mov edx, dword [esp + 0x48]
add eax, ebp
mov ecx, dword [ecx + edx*4]
mov edx, dword [esp + 0x50]
sub ecx, edx
mov edx, dword [edi + 0x2d68]
add ecx, ebp
mov dword [esp + 0x98], eax
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x120]
add ecx, edx
lea edx, [esp + 0x11c]
mov dword [esp + 0x94], ecx
add ecx, 3
lea eax, [esp + 0x90]
push edx
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x64]
push eax
push esi
call fcn.0050dbe0
or eax, 0xffffffff
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x44]
inc ecx
cmp ecx, edx
mov dword [esp + 0x34], ecx
jle 0x4b8a63
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x60]
shl eax, 1
add edx, 0xc
cmp eax, 0x100
mov dword [esp + 0x30], eax
mov dword [esp + 0x60], edx
jl 0x4b8a48
mov ecx, dword [esp + 0x14]
mov al, byte [ecx + 0x31d6]
test al, al
jne 0x4b8bc2
mov edx, dword [edi + 0x2da0]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x13c]
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x124]
push ecx
push ebp
push edx
mov edx, dword [esp + 0x13c]
push eax
push ebx
mov eax, dword [esp + 0x148]
sub esp, 0x10
mov ecx, esp
push edi
push esi
mov dword [ecx], edx
mov edx, dword [esp + 0x164]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x168]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x54]
call fcn.004b76d0
cmp dword [edi + 0x2e60], 1
jne 0x4b8c07
mov ecx, dword [esp + 0x14]
mov ebx, dword [edi + 0x2e5c]
push ebx
mov edx, dword [esi]
mov eax, dword [ecx + 0x32c0]
sub esp, 0x10
imul eax, dword [edi + 0x2d74]
add eax, ebp
mov ebx, esp
lea ecx, [eax + 1]
mov dword [ebx], eax
mov eax, dword [esp + 0x34]
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [ebx + 0xc], ecx
mov ecx, esi
call dword [edx + 0x38]
cmp dword [edi + 0x2e6c], 1
jne 0x4b8c54
mov edi, dword [edi + 0x2e74]
mov edx, dword [esp + 0x120]
mov eax, dword [esp + 0x11c]
push edi
sub esp, 0x10
mov ecx, dword [esp + 0x138]
mov dword [esp + 0x10c], edx
mov edx, dword [esp + 0x13c]
mov edi, esp
mov ebp, dword [esi]
lea ebx, [edx - 1]
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov ecx, esi
mov dword [edi + 0xc], edx
call dword [ebp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret 0x2c