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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebx]
mov eax, dword [edi + 8]
mov edx, dword [edi]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
lea eax, [eax + eax*4]
shl eax, 4
lea esi, [eax + ebx + 0x2e0]
movzx eax, byte [esi + 0x2c]
mov dword [esp + 0x34], edx
lea edx, [eax + eax*4]
mov eax, dword [ebx + 4]
lea ecx, [ebx + 0x148]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 0x40]
shl edx, 4
lea eax, [edx + eax + 8]
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x28], edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x54], 0
test eax, eax
jle 0x47f7ae
lea ecx, [ebx + 0x48]
mov edx, dword [esp + 0x1c]
cmp dword [ecx], edx
je 0x47f8a4
inc dword [esp + 0x54]
add ecx, 4
cmp dword [esp + 0x54], eax
jl 0x47f795
xor eax, eax
xor edx, edx
mov ecx, dword [ebp + 0xc]
not eax
and eax, dword [ebp + 0x10]
not edx
and edx, dword [ebp + 0x14]
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], edx
mov eax, dword [ebx + 0x18]
mov edx, dword [ebx + 0x1c]
call fcn.004fb3e0
and eax, 1
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
test byte [eax + 0x24], 0x40
je 0x47f7ef
test byte [ebx + 0x24], 0x20
mov dword [esp + 0x70], 1
je 0x47f7f7
mov dword [esp + 0x70], 0
mov eax, dword [esp + 0x14]
call fcn.00440ff0
mov dword [esp + 0x54], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x14]
call fcn.00440ff0
cmp byte [esi + 0x2c], 0
mov dword [esp + 0x5c], eax
mov dword [esi + 0x18], eax
jbe 0x47f846
mov ecx, dword [esp + 0x4c]
test byte [ecx + 0x24], 8
je 0x47f846
inc dword [edi + 0x4c]
mov eax, dword [edi + 0x4c]
mov edx, dword [esp + 0x14]
push 0
push eax
push 0
push 0x16
push edx
mov dword [esi], eax
call fcn.00440c90
add esp, 0x14
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x28]
mov dword [esp + 0x84], eax
test al, 0x10
je 0x47f8b9
mov eax, dword [esp + 0x4c]
mov edx, dword [eax + 0x18]
mov ecx, dword [eax + 0x1c]
mov ebx, dword [esp + 0x14]
push edx
push 0
push ecx
push 0x10
push ebx
mov dword [esp + 0x90], ecx
call fcn.00440c90
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x90]
add esp, 0x14
push 0
push eax
push ecx
push 0x12
push ebx
call fcn.00440c90
mov dword [esi + 0x34], eax
mov byte [esi + 0x2d], 0xd
add esp, 0x14
mov esi, ebx
jmp 0x480b39
mov ecx, dword [esp + 0x54]
mov eax, 1
xor edx, edx
call fcn.004e80c0
jmp 0x47f7b2
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x24]
test edx, 0x400
je 0x47fc08
movzx eax, word [ecx + 0x28]
mov edx, dword [edi + 0x3c]
inc dword [edi + 0x6c]
mov ebx, dword [edi + 0x40]
mov dword [esp + 0x4c], eax
add eax, 2
cmp eax, edx
mov dword [esp + 0x54], ebx
jg 0x47f8f4
add ebx, eax
sub edx, eax
mov dword [edi + 0x40], ebx
mov dword [edi + 0x3c], edx
jmp 0x47f903
mov edx, dword [edi + 0x4c]
lea ebx, [edx + 1]
add eax, edx
mov dword [esp + 0x54], ebx
mov dword [edi + 0x4c], eax
mov edx, dword [esi + 0xc]
xor ebx, ebx
cmp dword [esp + 0x4c], ebx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x24], ebx
jle 0x47f97b
mov eax, dword [esp + 0x54]
add eax, 2
mov dword [esp + 0x50], eax
mov edx, dword [ecx + 0x30]
mov eax, dword [edx + ebx*4]
test eax, eax
je 0x47f96c
test byte [eax + 0x12], 1
mov ecx, dword [esp + 0x50]
push ecx
je 0x47f959
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
push edx
push ecx
push eax
push edi
mov ebx, esi
call fcn.0047f110
mov edx, dword [esi + 0x10]
mov ebx, dword [esp + 0x38]
add esp, 0x14
mov dword [esp + 0x6c], edx
jmp 0x47f968
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
push eax
push edi
call fcn.00457580
add esp, 0xc
mov ecx, dword [esp + 0x2c]
inc dword [esp + 0x50]
inc ebx
cmp ebx, dword [esp + 0x4c]
mov dword [esp + 0x24], ebx
jl 0x47f921
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x54]
mov edx, dword [ecx + 0x18]
mov eax, dword [esp + 0x14]
push 0
push ebx
push edx
push 0x16
push eax
call fcn.00440c90
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x28]
add esp, 0x14
push 0
inc ebx
push ebx
push ecx
push 0x16
push edx
call fcn.00440c90
mov eax, dword [esp + 0x40]
movzx ebx, byte [eax + 0x1c]
add esp, 0x14
mov ecx, eax
mov edx, dword [ecx + 0x20]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x24]
neg ebx
push edx
sbb ebx, ebx
push 0xb
and ebx, 0xfffffff7
push eax
add ebx, 0xfffffffe
call fcn.00440c90
mov ecx, dword [esp + 0x90]
add esp, 0x14
push ebx
mov ebx, dword [esp + 0x18]
push ecx
push eax
push ebx
call fcn.00441610
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebp + 8]
mov byte [edx + 0x1c], 0
mov dword [esi + 0x30], eax
mov dl, byte [ecx + 0x28]
mov ecx, dword [esi + 0x38]
add esp, 0x10
neg dl
sbb dl, dl
and dl, 6
add dl, 0x9a
mov byte [esi + 0x2d], dl
mov eax, dword [ebx + 0x20]
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x4c]
add eax, 0xffffffff
mov dword [esp + 0x24], eax
js 0x47fbfc
lea ecx, [ecx + ecx*2]
add ecx, ecx
add ecx, ecx
mov dword [esp + 0x6c], ecx
mov ebx, eax
lea ecx, [ecx]
cmp ebx, 0x10
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x30]
mov eax, dword [edx + ebx*4]
mov dword [esp + 0x20], eax
jge 0x47fa82
mov dx, word [ecx + 0x1e]
mov cx, bx
shr dx, cl
test dl, 1
je 0x47fa82
mov edi, esi
call fcn.0047f020
mov edi, dword [esp + 0x28]
jmp 0x47fbeb
test byte [eax + 0x12], 1
je 0x47fbef
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x45], 0
jne 0x47fae5
mov eax, dword [esp + 0x6c]
mov ecx, dword [esi + 0x3c]
sub eax, 0xc
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + eax + 4]
mov ecx, dword [esp + 0x14]
test eax, eax
jge 0x47fab4
mov eax, dword [ecx + 0x20]
dec eax
mov edx, dword [ecx]
cmp byte [edx + 0x45], 0
je 0x47fac3
mov eax, 0x550118
jmp 0x47facc
mov edx, dword [ecx + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov edx, dword [eax + 0xc]
push edx
mov edx, dword [eax + 8]
push edx
mov edx, dword [eax + 4]
movzx eax, byte [eax]
push edx
push eax
push ecx
call fcn.00440c90
add esp, 0x14
mov eax, dword [edi]
push 0
push 0x30
call fcn.00423fa0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x47fb17
push 0x30
push 0
push ebx
call fcn.004e57c0
add esp, 0xc
or ecx, 0xffffffff
mov byte [ebx], 0x4f
mov word [ebx + 0x22], cx
mov dword [ebx + 0x18], 1
mov edx, dword [edi]
mov dword [esp + 0x7c], edx
test ebx, ebx
jne 0x47fb3e
push ebx
mov ebx, edx
push ebx
call fcn.00453fb0
push 0
push ebx
call fcn.00453fb0
mov ebx, dword [esp + 0x34]
add esp, 0x10
jmp 0x47fbef
mov esi, ebx
call fcn.00453890
mov eax, dword [edi]
mov eax, dword [eax + 0x68]
cmp dword [ebx + 0x18], eax
jle 0x47fb5f
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
mov esi, edi
call fcn.004266d0
add esp, 8
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x34]
push 0
push 0x31
call fcn.00423fa0
mov esi, eax
add esp, 8
test esi, esi
je 0x47fba8
push 0x30
push 0
push esi
call fcn.004e57c0
add esp, 0xc
lea eax, [esi + 0x30]
or ecx, 0xffffffff
mov byte [esi], 0x9d
mov word [esi + 0x22], cx
mov dword [esi + 8], eax
mov byte [eax], 0
mov dword [esi + 0x18], 1
mov dword [ebx + 0x10], esi
test esi, esi
je 0x47fbd2
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x24]
lea ecx, [edx + eax + 2]
mov edx, dword [esp + 0x18]
mov dword [esi + 0x1c], ecx
mov eax, dword [edx + 0x18]
push 0
push eax
push ebx
push edi
call fcn.00457bd0
add esp, 0x10
mov ecx, dword [esp + 0x34]
push ebx
push ecx
mov dword [ebx + 0xc], 0
call fcn.00453fb0
mov ebx, dword [esp + 0x2c]
add esp, 8
mov esi, dword [esp + 0x18]
sub ebx, 1
mov dword [esp + 0x24], ebx
jns 0x47fa50
mov eax, edi
call fcn.00456290
jmp 0x480b35
mov eax, edx
and eax, 0x100
je 0x47fcb8
test dl, 5
je 0x47fcb8
mov edx, ecx
mov eax, dword [edx + 0x30]
mov eax, dword [eax]
inc dword [edi + 0x4c]
mov ecx, dword [edi + 0x4c]
push ecx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x24]
push ecx
push 0
push eax
push edi
mov ebx, esi
call fcn.0047f110
mov ebx, eax
add esp, 0x14
cmp ebx, dword [esp + 0x54]
je 0x47fc56
mov esi, dword [esp + 0x54]
mov edx, edi
call fcn.004585d0
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x10]
mov esi, dword [esp + 0x14]
push 0
push eax
push ebx
push 0x26
push esi
mov dword [esp + 0x68], eax
call fcn.00440c90
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x30]
add esp, 0x14
push ebx
push eax
push ecx
push 0x46
push esi
call fcn.00440c90
add esp, 0x14
push ebx
mov eax, 1
mov esi, edi
call fcn.00456230
mov edx, dword [esp + 0x20]
add esp, 4
push 0xffffffffffffffff
push edx
mov edx, edi
call fcn.00456130
mov eax, dword [esp + 0x20]
add esp, 8
mov byte [eax + 0x2d], 0xa0
jmp 0x480b35
test eax, eax
je 0x47feb1
test dl, 2
je 0x47feb1
xor esi, esi
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x4c], 0xa0
mov dword [esp + 0x6c], esi
mov dword [esp + 0x58], esi
test dl, 0x20
je 0x47fcec
mov eax, dword [ecx + 0x30]
mov ebx, dword [eax]
lea eax, [esi + 1]
test dl, 0x10
je 0x47fcfb
mov ecx, dword [ecx + 0x30]
mov esi, dword [ecx + eax*4]
mov dword [esp + 0x58], esi
cmp dword [esp + 0x20], 0
je 0x47fd0c
mov eax, ebx
mov ebx, esi
mov esi, eax
mov dword [esp + 0x58], esi
test ebx, ebx
je 0x47fd9d
mov esi, dword [ebx]
mov eax, dword [esi + 0x10]
lea edx, [esp + 0x78]
push edx
mov ecx, edi
mov byte [esp + 0x54], 0x42
mov byte [esp + 0x55], 0x40
mov byte [esp + 0x56], 0x3f
mov byte [esp + 0x57], 0x41
call fcn.00457470
movzx edx, byte [esi]
mov ecx, dword [esp + 0x20]
add esp, 4
push eax
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x58]
push eax
movzx eax, byte [esp + edx + 8]
push ecx
mov ecx, dword [esp + 0x20]
push eax
push ecx
call fcn.00440c90
mov edx, dword [esp + 0x90]
add esp, 0x14
push edx
mov eax, 1
mov esi, edi
call fcn.00456230
mov esi, dword [esp + 0x7c]
add esp, 4
mov edx, edi
call fcn.004585d0
mov edi, dword [esp + 0x18]
mov eax, ebx
call fcn.0047f020
mov esi, dword [esp + 0x58]
mov ebx, edi
mov edi, dword [esp + 0x28]
jmp 0x47fdc9
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x1c]
neg edx
push 0
push eax
mov eax, dword [esp + 0x1c]
sbb edx, edx
and edx, 0xfffffffd
push ecx
add edx, 0x6c
push edx
push eax
call fcn.00440c90
mov ebx, dword [esp + 0x2c]
add esp, 0x14
test esi, esi
je 0x47fe31
mov ecx, dword [esi]
inc dword [edi + 0x4c]
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x7c], ecx
mov ecx, dword [ecx + 0x10]
push eax
push ecx
push edi
mov dword [esp + 0x78], eax
call fcn.00457580
mov edx, dword [esp + 0x88]
mov al, byte [edx]
add esp, 0xc
cmp al, 0x52
je 0x47fe0f
cmp al, 0x50
je 0x47fe0f
xor eax, eax
cmp dword [esp + 0x20], eax
setne al
lea eax, [eax + eax + 0x50]
mov dword [esp + 0x4c], eax
jmp 0x47fe20
xor ecx, ecx
cmp dword [esp + 0x20], ecx
sete cl
lea ecx, [ecx + ecx + 0x51]
mov dword [esp + 0x4c], ecx
mov eax, esi
mov edi, ebx
call fcn.0047f020
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x28]
cmp dword [esp + 0x20], 0
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x20]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
sete cl
add cl, 6
cmp dword [esp + 0x4c], 0xa0
mov byte [ebx + 0x2d], cl
mov dword [ebx + 0x30], edx
mov dword [ebx + 0x34], eax
je 0x480b39
inc dword [edi + 0x4c]
mov ebx, dword [edi + 0x4c]
push 0
push ebx
mov eax, edx
push eax
push 0x67
push esi
call fcn.00440c90
mov ecx, dword [esp + 0x30]
add esp, 0x14
push 0xffffffffffffffff
push ecx
mov edx, edi
call fcn.00456130
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x54]
push ebx
push edx
push eax
push ecx
push esi
call fcn.00440c90
add esp, 0x1c
push 0x53
mov ecx, esi
call fcn.004412e0
add esp, 4
jmp 0x480b39
test edx, 0x200
je 0x4804b7
test byte [ebx + 0x24], 1
movzx eax, word [ecx + 0x18]
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x38], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x54], 0
mov byte [esp + 0x12], 0
mov byte [esp + 0x11], 0
mov byte [esp + 0x13], 0
mov dword [esp + 0x50], eax
je 0x47ff22
cmp byte [ebx + 0x26], 0
jle 0x47ff22
mov ax, word [esp + 0x30]
mov ebx, dword [esp + 0x4c]
cmp word [ebx + 0x32], ax
jbe 0x47ff22
mov byte [esp + 0x11], 1
mov dword [esp + 0x54], 1
movzx ebx, word [esp + 0x30]
mov dword [esp + 0x24], ebx
mov eax, ebx
test dl, 0x20
je 0x47ff49
mov ebx, dword [ecx + 0x30]
mov ebx, dword [ebx + eax*4]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x24]
inc eax
mov dword [esp + 0x54], 1
test dl, 0x10
je 0x47ffd6
mov ecx, dword [ecx + 0x30]
mov eax, dword [ecx + eax*4]
mov edx, 0x100
mov dword [esp + 0x40], eax
mov dword [esp + 0x54], 1
test word [eax + 0x14], dx
je 0x47ffa9
inc dword [edi + 0x4c]
mov eax, dword [edi + 0x4c]
push 0
push eax
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0x1c]
xor edx, edx
cmp byte [ebx + ecx], 1
mov ebx, dword [esp + 0x1c]
sete dl
xor edx, dword [esp + 0x28]
push edx
push 0x16
push ebx
call fcn.00440c90
mov eax, dword [ebx + 0x20]
mov ebx, dword [esp + 0x38]
add esp, 0x14
mov dword [esi + 0x28], eax
cmp dword [esp + 0x38], 0
mov ecx, dword [esp + 0x4c]
jne 0x47ffda
mov edx, dword [ecx + 4]
movsx eax, word [edx + ebx*2]
test eax, eax
jl 0x47ffda
mov edx, dword [ecx + 0xc]
mov edx, dword [edx + 4]
shl eax, 4
cmp byte [edx + eax + 0xc], 0
jne 0x47ffda
mov byte [esp + 0x11], 1
jmp 0x47ffda
mov ecx, dword [esp + 0x4c]
movzx eax, word [ecx + 0x32]
cmp word [esp + 0x30], ax
jae 0x47fff6
mov ecx, dword [ecx + 0x1c]
xor edx, edx
cmp byte [ebx + ecx], dl
sete dl
cmp dword [esp + 0x20], edx
je 0x480004
cmp dword [esp + 0x20], 0
je 0x480021
cmp ax, word [esp + 0x30]
jne 0x480021
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x38], eax
mov al, byte [esp + 0x11]
mov dword [esp + 0x40], ecx
mov byte [esp + 0x11], 0
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x44]
push edx
push eax
push ecx
push esi
push edi
call fcn.0047f2f0
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x58]
xor edx, edx
add esp, 0x14
cmp eax, edx
je 0x48004f
mov al, byte [ebx + eax]
mov byte [esp + 0x12], al
mov eax, dword [esp + 0x38]
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x54], ecx
mov bl, 0x28
cmp eax, edx
je 0x480069
mov dword [esp + 0x60], edx
test byte [eax + 0x12], bl
je 0x480071
mov dword [esp + 0x60], 1
mov ecx, dword [esp + 0x40]
cmp ecx, edx
je 0x480082
mov dword [esp + 0x68], edx
test byte [ecx + 0x12], bl
je 0x48008a
mov dword [esp + 0x68], 1
cmp eax, edx
jne 0x480099
mov dword [esp + 0x64], edx
cmp word [esp + 0x30], dx
jbe 0x4800a1
mov dword [esp + 0x64], 1
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x30], ebx
cmp dword [esp + 0x38], edx
je 0x480165
mov edx, dword [esp + 0x38]
mov eax, dword [edx]
mov edx, dword [esp + 0x48]
mov eax, dword [eax + 0x10]
mov ecx, ebx
lea ebx, [ecx + edx]
push ebx
push eax
push edi
mov dword [esp + 0x64], eax
call fcn.00457580
mov ecx, dword [esp + 0x44]
mov eax, 0x100
add esp, 0xc
test word [ecx + 0x14], ax
je 0x4800f0
mov ecx, dword [esp + 0x14]
push esi
call fcn.0047f5e0
add esp, 4
mov eax, dword [esp + 0x58]
call fcn.00454ec0
test eax, eax
je 0x480114
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x14]
push 0
push edx
push ebx
push 0x4c
push eax
call fcn.00440c90
add esp, 0x14
cmp dword [esp + 0x44], 0
je 0x48015b
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x44]
mov bl, byte [ecx + edx]
mov eax, dword [esp + 0x58]
call fcn.004535c0
mov ebx, dword [esp + 0x44]
cmp al, 0x41
jne 0x48013f
mov eax, dword [esp + 0x24]
mov byte [eax + ebx], 0x41
mov ecx, dword [esp + 0x24]
mov dl, byte [ecx + ebx]
mov ecx, dword [esp + 0x58]
call fcn.00454f70
test eax, eax
je 0x48015b
mov edx, dword [esp + 0x24]
mov byte [edx + ebx], 0x41
inc dword [esp + 0x30]
mov ebx, dword [esp + 0x30]
jmp 0x48019c
cmp byte [esp + 0x11], dl
je 0x48019c
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x14]
push 0
mov eax, ebx
add eax, ecx
push eax
push 0
push 0x19
push edx
call fcn.00440c90
add esp, 0x14
inc ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 1
movzx eax, byte [esp + 0x11]
mov edx, dword [esp + 0x48]
mov ecx, ebx
sub ecx, eax
mov eax, dword [esp + 0x44]
push edi
call fcn.0047f090
mov ecx, dword [esp + 0x30]
movzx eax, word [ecx + 0x2a]
add esp, 4
test ax, ax
jbe 0x4801ca
movzx edx, ax
cmp ebx, edx
je 0x480203
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x14]
push eax
lea eax, [ecx + edx*2]
mov ecx, dword [esp + 0x24]
movzx edx, byte [ecx + eax*2 + 0x529730]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x58]
push edx
call fcn.00440f40
mov esi, dword [esp + 0x20]
add esp, 8
cmp dword [esp + 0x40], 0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], eax
je 0x4802d4
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x48]
lea ebx, [ecx + edx]
mov dword [esp + 0x6c], eax
push ebx
mov eax, 1
mov esi, edi
mov dword [esp + 0x80], ebx
call fcn.00456230
mov esi, dword [esp + 0x70]
add esp, 4
push ebx
push esi
push edi
call fcn.00457580
mov ecx, dword [esp + 0x4c]
mov eax, 0x100
add esp, 0xc
test word [ecx + 0x14], ax
je 0x480274
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edx
call fcn.0047f5e0
add esp, 4
mov eax, esi
call fcn.00454ec0
test eax, eax
je 0x480296
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x14]
push 0
push eax
push ebx
push 0x4c
push ecx
call fcn.00440c90
add esp, 0x14
mov esi, dword [esp + 0x6c]
mov bl, byte [esp + 0x12]
mov eax, esi
call fcn.004535c0
cmp al, 0x41
je 0x4802ce
mov dl, byte [esp + 0x12]
mov ecx, esi
call fcn.00454f70
test eax, eax
jne 0x4802ce
mov edx, dword [esp + 0x7c]
push edi
lea eax, [esp + 0x16]
mov ecx, 1
call fcn.0047f090
add esp, 4
mov esi, dword [esp + 0x18]
jmp 0x4802ff
cmp byte [esp + 0x13], 0
je 0x480303
mov ecx, dword [esp + 0x14]
mov edx, eax
mov eax, dword [esp + 0x48]
push 0
add edx, eax
push edx
push 0
push 0x19
push ecx
call fcn.00440c90
add esp, 0x14
mov dword [esp + 0x68], 0
inc dword [esp + 0x30]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x34]
call fcn.00423cc0
cmp dword [esp + 0x30], 0
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x20]
mov dword [esi + 0x34], eax
je 0x480353
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x14]
push ecx
movzx ecx, byte [edx + eax*2 + 0x529738]
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x5c]
call fcn.00440f40
mov esi, dword [esp + 0x20]
add esp, 8
mov eax, dword [esp + 0x38]
mov edi, esi
call fcn.0047f020
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
mov edi, esi
call fcn.0047f020
cmp dword [esp + 0x70], 0
jne 0x48046b
mov edi, dword [esp + 0x4c]
mov eax, dword [edi + 0xc]
test byte [eax + 0x2a], 0x20
mov edx, dword [esp + 0x50]
jne 0x4803e3
mov eax, dword [ebp + 8]
cmp byte [eax + 0x28], 0
je 0x4803d5
mov esi, dword [esp + 0x28]
inc dword [esi + 0x4c]
mov ebx, dword [esi + 0x4c]
mov edi, dword [esp + 0x14]
push 0
push ebx
push edx
push 0x71
push edi
call fcn.00440c90
mov eax, dword [esp + 0x30]
add esp, 0x14
push 0xffffffffffffffff
push eax
mov edx, esi
call fcn.00456130
mov ecx, dword [esp + 0x24]
push ebx
push 0
push ecx
push 0x46
push edi
call fcn.00440c90
add esp, 0x1c
jmp 0x480467
mov ecx, dword [esp + 0x1c]
call fcn.0047f620
jmp 0x48046b
cmp dword [esp + 0x1c], edx
je 0x48046b
call fcn.0045cc20
mov ecx, dword [esp + 0x28]
mov edi, eax
movzx esi, word [edi + 0x32]
call fcn.00458600
mov dword [esp + 0x70], eax
xor eax, eax
xor ebx, ebx
cmp ax, word [edi + 0x32]
jae 0x480448
mov ecx, dword [esp + 0x70]
mov eax, dword [edi + 4]
mov si, word [eax + ebx*2]
lea edx, [ebx + ecx]
push edx
mov edx, dword [esp + 0x50]
call fcn.0045cc40
mov edx, dword [esp + 0x54]
movsx ecx, ax
mov eax, dword [esp + 0x18]
push ecx
push edx
push 0x2f
push eax
call fcn.00440c90
movzx ecx, word [edi + 0x32]
inc ebx
add esp, 0x14
cmp ebx, ecx
jl 0x48040f
mov edx, dword [esp + 0x1c]
movzx ebx, word [edi + 0x32]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x14]
push edx
push 0x44
call fcn.00440f40
add esp, 8
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
test dword [eax + 0x24], 0x1000
je 0x48047e
mov byte [esi + 0x2d], 0xa0
jmp 0x48048c
cmp dword [esp + 0x20], 0
sete cl
add cl, 6
mov byte [esi + 0x2d], cl
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x28]
mov dword [esi + 0x30], edx
mov cl, byte [eax + 0x26]
and cl, 1
mov byte [esi + 0x2e], cl
test byte [eax + 0x24], 0xf
jne 0x480b35
mov edx, dword [esp + 0x18]
mov byte [edx + 0x2f], 1
jmp 0x480b35
test edx, 0x2000
je 0x480aec
mov eax, dword [edi + 0x48]
inc dword [edi + 0x4c]
mov dword [esp + 0x74], eax
inc eax
mov dword [edi + 0x48], eax
mov eax, dword [edi + 0x4c]
xor ecx, ecx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x30], ecx
call fcn.00440ff0
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x78], eax
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x30]
mov eax, dword [ecx]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x54]
mov byte [esi + 0x2d], 0xf
mov dword [esi + 0x30], eax
mov al, byte [ebx + 0x2b]
mov dword [esp + 0x6c], edx
cmp al, 1
jbe 0x48060c
movzx ebx, al
sub ebx, dword [ebp + 0xc]
mov eax, dword [esp + 0x34]
dec ebx
lea ecx, [ebx + ebx*4]
shl ecx, 4
add ecx, 0x58
push 0
push ecx
call fcn.00423f70
add esp, 8
mov dword [esp + 0x58], eax
test eax, eax
jne 0x480566
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x4c]
mov dl, bl
inc dl
movzx ecx, dl
mov dword [eax + 4], ecx
mov dword [eax], ecx
lea edi, [eax + 8]
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
add edx, 8
cmp ebx, 1
jl 0x4805d5
add eax, 0x58
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x18]
add eax, 0x7c
mov dword [esp + 0x70], ebx
mov ebx, eax
jmp 0x4805b0
movzx eax, byte [ebx]
mov edi, dword [esp + 0x68]
add dword [esp + 0x68], 0x50
lea esi, [eax + eax*4]
shl esi, 4
add esi, edx
mov ecx, 0x14
add ebx, 0x50
sub dword [esp + 0x70], 1
rep movsd dword es:[edi], dword [esi]
jne 0x4805b0
mov edi, dword [esp + 0x28]
mov edx, dword [ebp + 8]
test byte [edx + 0x24], 8
mov esi, dword [esp + 0x14]
jne 0x48064f
mov eax, dword [esp + 0x50]
test byte [eax + 0x2a], 0x20
jne 0x480615
inc dword [edi + 0x4c]
mov eax, dword [edi + 0x4c]
push 0
push eax
push 0
push 0x19
push esi
mov dword [esp + 0x5c], eax
call fcn.00440c90
add esp, 0x14
jmp 0x480645
mov ecx, dword [ebx + 4]
mov dword [esp + 0x58], ecx
jmp 0x4805d9
call fcn.0045cc20
mov ebx, eax
mov eax, dword [edi + 0x48]
lea ecx, [eax + 1]
mov dword [edi + 0x48], ecx
movzx edx, word [ebx + 0x32]
push 0
push edx
push eax
push 0x39
push esi
mov dword [esp + 0x5c], eax
call fcn.00440c90
add esp, 0x14
mov ecx, ebx
mov eax, edi
call fcn.004416a0
inc dword [edi + 0x4c]
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x54]
push 0
push ecx
push 0
push 0x16
push esi
call fcn.00440c90
mov edx, dword [esp + 0x50]
mov dword [esp + 0x98], eax
mov eax, dword [edx + 0xc]
add esp, 0x14
cmp eax, 1
jle 0x480720
mov dword [esp + 0x70], 0
test eax, eax
jle 0x480720
xor ebx, ebx
mov ecx, edx
mov edi, edi
mov eax, dword [ecx + 0x14]
mov edx, dword [eax + ebx]
add eax, ebx
mov dword [esp + 0x68], edx
cmp eax, dword [esp + 0x20]
je 0x4806ec
test byte [edx + 4], 1
jne 0x4806ec
mov edx, dword [ecx + 0x14]
test byte [ebx + edx + 0x14], 6
lea eax, [ebx + edx]
jne 0x4806ec
mov edx, 0x1fff
test word [eax + 0x12], dx
je 0x4806ec
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x34]
push 0
push 0
push eax
push ecx
call fcn.004540e0
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x50]
push edx
call fcn.00453c30
mov ecx, dword [esp + 0x50]
add esp, 0x14
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x70]
inc eax
add ebx, 0x30
cmp eax, dword [ecx + 0xc]
mov dword [esp + 0x70], eax
jl 0x480690
cmp dword [esp + 0x40], 0
je 0x480720
mov eax, dword [esp + 0x40]
push 0
push eax
push 0
mov ecx, 0x148
mov ebx, edi
call fcn.00453b10
add esp, 0xc
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x6c]
xor ecx, ecx
cmp dword [eax + 0xc], ecx
mov dword [esp + 0x64], 0xf0
mov dword [esp + 0x2c], ecx
jle 0x480a22
mov dword [esp + 0x60], ecx
nop
mov eax, dword [eax + 0x14]
add eax, dword [esp + 0x60]
mov ecx, dword [eax + 8]
cmp ecx, dword [esp + 0x1c]
je 0x48075f
mov edx, 0x400
test word [eax + 0x12], dx
je 0x480a07
mov ecx, dword [esp + 0x40]
mov eax, dword [eax]
mov dword [esp + 0x68], 0
test ecx, ecx
je 0x48077c
test byte [eax + 4], 1
jne 0x48077c
mov dword [ecx + 0xc], eax
mov eax, ecx
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x58]
push ecx
push edx
push 0
push 0
push eax
push ebx
push edi
call fcn.00487690
add esp, 0x1c
mov dword [esp + 0x80], eax
test eax, eax
je 0x480a07
mov ecx, dword [esp + 0x18]
movzx edx, byte [ecx + 0x2c]
mov ecx, dword [ebp + 0xc]
push 0
push edx
push ecx
lea edx, [eax + 0x2e0]
push ebx
mov ecx, edi
call fcn.0047ed20
mov edx, dword [ebp + 8]
add esp, 0x10
test byte [edx + 0x24], 8
jne 0x480947
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x2c]
dec ecx
mov dword [esp + 0x4c], 0xffffffff
cmp eax, ecx
je 0x4807f1
mov dword [esp + 0x4c], eax
mov edx, dword [esp + 0x50]
test byte [edx + 0x2a], 0x20
jne 0x480837
mov eax, dword [esp + 0x30]
push 0
push eax
mov eax, dword [esp + 0x24]
mov ecx, edx
push 0xffffffffffffffff
push ecx
mov ecx, edi
call fcn.004563f0
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x24]
push edx
push 0x83
xor ecx, ecx
call fcn.00440f40
add esp, 0x18
mov dword [esp + 0x68], eax
jmp 0x480947
mov eax, edx
call fcn.0045cc20
movzx esi, word [eax + 0x32]
mov ecx, edi
mov dword [esp + 0x70], eax
mov dword [esp + 0x44], esi
call fcn.00458600
xor ebx, ebx
mov dword [esp + 0x38], eax
test esi, esi
jle 0x4808a0
mov esi, eax
lea ecx, [ecx]
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 4]
movsx eax, word [ecx + ebx*2]
mov edx, dword [esp + 0x50]
push 0
push esi
push eax
mov eax, dword [esp + 0x28]
push edx
mov ecx, edi
call fcn.004563f0
add esp, 0x10
cmp eax, esi
je 0x480898
push 0
push esi
push eax
mov eax, dword [edi + 8]
push 0x1f
push eax
call fcn.00440c90
add esp, 0x14
inc ebx
inc esi
cmp ebx, dword [esp + 0x44]
jl 0x480860
cmp dword [esp + 0x4c], 0
je 0x4808cf
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x14]
push ecx
push 0x45
xor ecx, ecx
call fcn.00440f40
add esp, 8
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x68], eax
jl 0x480923
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x14]
push edx
push ebx
push eax
push 0x31
push esi
call fcn.00440c90
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x5c]
add esp, 0x14
push 0
push ecx
push edx
push 0x6e
push esi
call fcn.00440c90
add esp, 0x14
cmp dword [esp + 0x4c], 0
je 0x480927
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
jne 0x480927
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 4]
lea ecx, [eax + eax*4]
mov byte [edx + ecx*4 - 0x11], 0x10
jmp 0x480927
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x38]
push eax
mov eax, ebx
mov esi, edi
call fcn.00456230
add esp, 4
cmp ebx, dword [edi + 0x3c]
jle 0x480947
mov ecx, dword [esp + 0x38]
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], ecx
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x14]
push 0
push edx
push eax
push 0xe
push esi
call fcn.00440c90
mov eax, dword [esp + 0x7c]
add esp, 0x14
test eax, eax
je 0x480999
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
dec ecx
mov dword [edx + 0x60], ecx
mov ecx, dword [esi + 0x20]
test eax, eax
jge 0x48097e
lea eax, [ecx - 1]
mov edx, dword [esi]
cmp byte [edx + 0x45], 0
je 0x48098d
mov eax, 0x550118
jmp 0x480996
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x80]
cmp byte [eax + 0x29], 0
je 0x4809ae
mov dword [esp + 0x7c], 1
mov ecx, dword [eax + 0x320]
test dword [ecx + 0x24], 0x200
je 0x4809f6
cmp dword [esp + 0x2c], 0
je 0x4809cd
mov edx, dword [esp + 0x24]
cmp dword [ecx + 0x1c], edx
jne 0x4809f6
mov edx, dword [esp + 0x50]
test byte [edx + 0x2a], 0x20
je 0x4809e5
mov edx, dword [ecx + 0x1c]
mov edx, dword [edx + 0x38]
and dl, 3
cmp dl, 2
je 0x4809f6
mov ecx, dword [ecx + 0x1c]
or dword [esp + 0x64], 0x1000
mov dword [esp + 0x24], ecx
jmp 0x4809fe
mov dword [esp + 0x24], 0
push eax
call fcn.00487fe0
add esp, 4
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x6c]
add dword [esp + 0x60], 0x30
inc ecx
cmp ecx, dword [eax + 0xc]
mov dword [esp + 0x2c], ecx
jl 0x480740
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov dword [eax + 0x38], ecx
test ecx, ecx
je 0x480a38
mov edx, dword [esp + 0x74]
mov dword [eax + 8], edx
cmp dword [esp + 0x40], 0
je 0x480a58
mov eax, dword [esp + 0x40]
push eax
mov dword [eax + 0xc], 0
mov eax, dword [esp + 0x38]
push eax
call fcn.00453fb0
add esp, 8
mov eax, dword [esp + 0x84]
mov ecx, dword [esi + 0x20]
test eax, eax
jge 0x480a69
lea eax, [ecx - 1]
mov edx, dword [esi]
cmp byte [edx + 0x45], 0
je 0x480a78
mov eax, 0x550118
jmp 0x480a81
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov ebx, dword [esp + 0x18]
push 0
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0xc]
push eax
push 0
push 0xd
push esi
call fcn.00440c90
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x78]
add esp, 0x14
test eax, eax
je 0x480ab7
mov edx, dword [esp + 0x78]
lea edx, [edx*4 + 4]
sub eax, edx
mov edx, dword [esi + 0x20]
mov dword [eax], edx
mov eax, dword [esi + 0x20]
dec eax
mov dword [ecx + 0x60], eax
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0x2b], 1
jbe 0x480ad4
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x34]
call fcn.00423cc0
cmp dword [esp + 0x7c], 0
jne 0x480b39
mov eax, dword [esp + 0x20]
mov edi, ebx
call fcn.0047f020
mov edi, dword [esp + 0x28]
jmp 0x480b35
test byte [esp + 0x84], 0x20
je 0x480afc
mov byte [esi + 0x2d], 0xa0
jmp 0x480b35
mov eax, dword [esp + 0x20]
mov dl, byte [eax + 0x52973c]
mov ecx, dword [esp + 0x1c]
mov byte [esi + 0x2d], dl
mov edx, dword [esp + 0x54]
push 0
push edx
mov dword [esi + 0x30], ecx
movzx eax, byte [eax + 0x529740]
push ecx
push eax
mov eax, dword [esp + 0x24]
push eax
call fcn.00440c90
add esp, 0x14
inc eax
mov dword [esi + 0x34], eax
mov byte [esi + 0x2f], 1
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
test eax, eax
jle 0x480c66
mov edx, dword [esp + 0x18]
movzx eax, word [ecx + 0x14]
xor ebx, ebx
test al, 6
jne 0x480c4e
mov eax, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x2c]
and ecx, dword [edx + 0x4c]
and eax, dword [edx + 0x48]
or eax, ecx
mov ecx, dword [esp + 0x20]
je 0x480b85
mov eax, dword [ebp + 8]
mov byte [eax + 0x29], 1
jmp 0x480c4e
cmp dword [edx], 0
mov eax, dword [ecx]
mov dword [esp + 0x84], eax
je 0x480b9d
test byte [eax + 4], 1
je 0x480c4e
movzx eax, word [ecx + 0x14]
test eax, 0x200
je 0x480bf4
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x58], ecx
mov edx, dword [edx + 0x24]
jg 0x480bc9
push 0
push 0
push edx
push 0x2e
mov eax, esi
call fcn.00440c50
add esp, 0x10
jmp 0x480bf2
mov ebx, dword [esi + 4]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea eax, [ecx + ecx*4]
lea eax, [ebx + eax*4]
mov dword [eax + 4], edx
xor edx, edx
mov byte [eax], 0x2e
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
mov eax, ecx
mov ebx, eax
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x84]
push 0x10
push ecx
push edx
push edi
call fcn.00457bd0
add esp, 0x10
test ebx, ebx
je 0x480c3f
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
dec eax
mov dword [ecx + 0x60], eax
mov ecx, dword [esi + 0x20]
test ebx, ebx
jge 0x480c24
lea ebx, [ecx - 1]
mov edx, dword [esi]
cmp byte [edx + 0x45], 0
je 0x480c33
mov eax, 0x550118
jmp 0x480c3c
mov edx, dword [esi + 4]
lea eax, [ebx + ebx*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x20]
or word [eax + 0x14], 4
mov edx, dword [esp + 0x18]
mov ecx, eax
mov eax, dword [esp + 0x24]
dec eax
add ecx, 0x30
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
test eax, eax
jg 0x480b57
mov eax, dword [esp + 0x3c]
mov ebx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
test eax, eax
jle 0x480e02
test byte [ebx + 0x14], 6
jne 0x480dea
movzx eax, word [ebx + 0x12]
test al, 0x82
je 0x480dea
test eax, 0x800
je 0x480dea
mov eax, dword [esp + 0x1c]
cmp dword [ebx + 8], eax
jne 0x480dea
mov ecx, dword [esp + 0x18]
cmp dword [ecx], 0
jne 0x480dea
mov edx, dword [ebx]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push 0
push 0x83
push eax
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [ebx + 0xc]
push edx
mov edx, dword [esp + 0x50]
call fcn.00483090
mov esi, eax
add esp, 0x14
test esi, esi
je 0x480dea
test byte [esi + 0x14], 4
jne 0x480dea
cmp dword [esp + 0x34], 0
je 0x480d16
mov eax, dword [esp + 0x34]
push 0
push 0x30
call fcn.00423fa0
add esp, 8
mov ebx, eax
jmp 0x480d68
cmp dword [0x54b4e0], 0
je 0x480d52
mov eax, dword [0x550798]
test eax, eax
je 0x480d32
push eax
call dword [0x54b538]
add esp, 4
lea ebx, [esp + 0x7c]
mov eax, 0x30
call fcn.00423850
mov eax, dword [0x550798]
test eax, eax
je 0x480d64
push eax
call dword [0x54b540]
jmp 0x480d61
push 0x30
call dword [0x54b508]
mov dword [esp + 0x80], eax
add esp, 4
mov ebx, dword [esp + 0x7c]
test ebx, ebx
je 0x480de6
mov esi, dword [esi]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x84]
push 0x10
mov ecx, 0xc
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x2c]
push edx
push ebx
push eax
mov dword [ebx + 0xc], ecx
call fcn.00457bd0
mov ecx, dword [esp + 0x44]
add esp, 0x10
test ecx, ecx
je 0x480dd9
cmp dword [ecx + 0x1c8], 0
je 0x480db3
mov eax, ebx
call fcn.00423c80
jmp 0x480de2
cmp ebx, dword [ecx + 0x120]
jb 0x480dd9
cmp ebx, dword [ecx + 0x124]
jae 0x480dd9
mov edx, dword [ecx + 0x11c]
mov dword [ebx], edx
dec dword [ecx + 0x108]
mov dword [ecx + 0x11c], ebx
jmp 0x480de2
push ebx
call fcn.00423c10
add esp, 4
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
dec eax
add ebx, 0x30
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ebx
test eax, eax
jg 0x480c80
mov eax, dword [esp + 0x18]
xor esi, esi
cmp dword [eax], esi
je 0x480ebf
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x20]
mov dword [eax + 0x1c], edx
mov edx, dword [eax]
mov eax, dword [ecx + 0x20]
mov ebx, dword [ecx + 0x18]
cmp dword [ebx + 0x58], eax
jg 0x480e39
push esi
push edx
push 1
push 0x16
mov eax, ecx
call fcn.00440c50
add esp, 0x10
jmp 0x480e63
lea ebx, [eax + 1]
mov dword [ecx + 0x20], ebx
mov ecx, dword [ecx + 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x16
mov byte [eax + 3], 0
mov dword [eax + 4], 1
mov dword [eax + 8], edx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0
mov edx, edi
call fcn.004564b0
mov edx, dword [esp + 0x3c]
mov ebx, dword [edx + 0x14]
mov eax, edx
cmp dword [eax + 0xc], esi
jle 0x480ebf
mov edx, dword [esp + 0x18]
lea esp, [esp]
test byte [ebx + 0x14], 6
jne 0x480eb2
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x2c]
and eax, dword [edx + 0x48]
and ecx, dword [edx + 0x4c]
or eax, ecx
jne 0x480eb2
mov ecx, dword [esp + 0x5c]
mov edx, dword [ebx]
push 0x10
push ecx
push edx
push edi
call fcn.00457bd0
mov edx, dword [esp + 0x28]
add esp, 0x10
or word [ebx + 0x14], 4
mov eax, dword [esp + 0x3c]
inc esi
add ebx, 0x30
cmp esi, dword [eax + 0xc]
jl 0x480e80
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x48]
mov edx, dword [ecx + 0x4c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret