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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x544
mov eax, dword [ebp + 0x48]
push ebx
push esi
mov esi, dword [ebp + 0x18]
xor ebx, ebx
mov dword [eax], ebx
push edi
mov eax, esi
call fcn.004ac070
cmp eax, ebx
mov dword [esp + 0x8c], eax
je 0x48ecd8
nop
mov ecx, dword [ebp + 8]
mov edx, dword [esi]
mov edi, dword [ecx + 0x74]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
mov edx, dword [edi]
mov edx, dword [edx + 0xc]
mov ecx, edi
mov dword [esp + 0x74], eax
call edx
mov ecx, dword [esp + 0x74]
cmp ecx, eax
jne 0x48db49
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x74]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
test eax, eax
jne 0x48dfa2
cmp dword [esp + 0x8c], 1
je 0x48e7b1
mov edx, dword [esi]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x3c0]
push eax
mov ecx, esi
mov dword [esp + 0x54], ebx
mov word [esp + 0x50], bx
mov word [esp + 0x52], bx
call edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x1c0], ecx
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ecx + 0xc]
cmp eax, 0xffffffff
mov dword [esp + 0x1c4], edx
je 0x48dbba
add eax, 1
cmp dword [ecx + 0x14], eax
jne 0x48dbba
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx]
lea eax, [edx + eax*2 - 2]
mov dword [esp + 0xd0], eax
mov ax, word [ecx + 8]
sub ax, word [ecx + 0x14]
add ax, 1
jmp 0x48dbd1
mov eax, dword [ecx]
mov edx, dword [ecx + 0x14]
lea edx, [eax + edx*2]
mov ax, word [ecx + 8]
sub ax, word [ecx + 0x14]
mov dword [esp + 0xd0], edx
add ax, ax
mov word [esp + 0xce], ax
mov word [esp + 0xcc], ax
lea eax, [esp + 0x4c]
lea ecx, [esp + 0xcc]
lea edi, [esp + 0x1c0]
call fcn.004ab900
mov eax, dword [esp + 0x3c4]
cmp eax, ebx
mov esi, eax
je 0x48dd30
mov eax, 0x100ef4b8
mov dword [esp + 0x3cc], ebx
mov ecx, 0x100ef4b4
mov dword [esp + 0x3d4], ebx
mov dword [esp + 0x164], eax
mov eax, dword [esp + 0x3cc]
mov dword [esp + 0x16c], ecx
mov ecx, dword [esp + 0x3d4]
lea edx, [esp + 0x15c]
mov dword [esp + 0x15c], ebx
mov dword [esp + 0x160], 0xffffffff
mov dword [esp + 0x168], eax
mov dword [esp + 0x170], ecx
mov dword [esp + 0x174], edx
call fcn.00535fe0
call dword [0x100cf08c]
mov edi, eax
mov eax, dword [esp + 0x164]
mov ecx, dword [eax]
cmp edi, ecx
je 0x48dcbf
mov edx, dword [esp + 0x164]
mov eax, dword [edx]
test eax, eax
jne 0x48ddef
mov ecx, dword [esp + 0x164]
push ebx
push edi
push ecx
call dword [0x100cf090]
test eax, eax
sete al
cmp al, bl
je 0x48ddef
mov edx, dword [esp + 0x16c]
mov dword [edx], ebx
mov eax, dword [esp + 0x16c]
add dword [eax], 1
mov al, 1
push esi
mov byte [esp + 0x17c], al
mov eax, dword [0x100ef808]
push 1
push eax
call dword [0x100cf260]
cmp byte [esp + 0x178], bl
je 0x48dd30
mov eax, dword [esp + 0x174]
mov ecx, dword [eax + 0x10]
add dword [ecx], 0xffffffff
mov ecx, dword [eax + 0x10]
mov edi, eax
add eax, 0x10
cmp dword [ecx], ebx
jne 0x48dd30
mov edx, ecx
mov dword [edx], ebx
mov eax, dword [edi + 8]
push ebx
push eax
call dword [0x100cf084]
mov ecx, dword [edi + 0xc]
test ecx, ecx
lea eax, [edi + 0xc]
jle 0x48dd30
push eax
call dword [0x100cf080]
mov edx, dword [edi + 0x14]
push ebx
push 1
push edx
call dword [0x100cf088]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x104], eax
lea eax, [esp + 0x104]
mov dword [esp + 0x108], ecx
call fcn.004a1020
test eax, eax
jne 0x48e8b9
mov esi, dword [ebp + 0x2c]
mov edi, dword [ebp + 0x20]
mov ecx, dword [0x100ef48c]
push ebx
push esi
push edi
lea edx, [esp + 0x58]
mov dword [esp + 0x26c], edx
mov edx, dword [ebp + 0x10]
lea eax, [esp + 0x264]
push eax
add ecx, 0x160
push edx
mov dword [esp + 0x40], ebx
mov edx, dword [ecx]
lea eax, [esp + 0x40]
push eax
mov eax, dword [edx + 0x24]
mov dword [esp + 0x270], 0x18
mov dword [esp + 0x274], ebx
mov dword [esp + 0x27c], 0x40
mov dword [esp + 0x280], ebx
mov dword [esp + 0x284], ebx
call eax
call eax
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x48de0f
mov ecx, dword [0x100ef48c]
cmp ecx, ebx
push eax
je 0x48de09
mov edx, dword [ecx + 0x2b0]
mov eax, dword [edx + 0x24]
add ecx, 0x2b0
call eax
call eax
jmp 0x48de0f
push edi
lea eax, [esp + 0x160]
call fcn.00535290
test al, al
jne 0x48dcbf
jmp 0x48dccb
call dword [0x100cf21c]
mov eax, dword [esp + 0x74]
cmp eax, ebx
mov dword [esp + 0x2c], ebx
je 0x48e8d9
cmp eax, 0xc0000034
je 0x48e9ab
cmp eax, 0xc000003a
je 0x48e9ab
mov eax, dword [esp + 0x50]
cmp eax, ebx
mov esi, eax
je 0x48df68
mov eax, 0x100ef4b8
mov dword [esp + 0x414], ebx
mov edx, dword [esp + 0x414]
mov ecx, 0x100ef4b4
mov dword [esp + 0x41c], ebx
mov dword [esp + 0x144], eax
mov eax, dword [esp + 0x41c]
mov dword [esp + 0x14c], ecx
lea ecx, [esp + 0x13c]
mov dword [esp + 0x13c], ebx
mov dword [esp + 0x140], 0xffffffff
mov dword [esp + 0x148], edx
mov dword [esp + 0x150], eax
mov dword [esp + 0x154], ecx
call fcn.00535fe0
call dword [0x100cf08c]
mov edx, dword [esp + 0x144]
mov edi, eax
mov eax, dword [edx]
cmp edi, eax
je 0x48def6
mov ecx, dword [esp + 0x144]
mov edx, dword [ecx]
test edx, edx
jne 0x48df88
mov eax, dword [esp + 0x144]
push ebx
push edi
push eax
call dword [0x100cf090]
test eax, eax
sete al
cmp al, bl
je 0x48df88
mov ecx, dword [esp + 0x14c]
mov dword [ecx], ebx
mov eax, dword [esp + 0x14c]
add dword [eax], 1
mov al, 1
mov edx, dword [0x100ef808]
push esi
push 1
push edx
mov byte [esp + 0x164], al
call dword [0x100cf260]
cmp byte [esp + 0x158], bl
je 0x48df68
mov eax, dword [esp + 0x154]
mov ecx, dword [eax + 0x10]
add dword [ecx], 0xffffffff
mov ecx, dword [eax + 0x10]
mov edi, eax
add eax, 0x10
cmp dword [ecx], ebx
jne 0x48df68
mov edx, ecx
mov dword [edx], ebx
mov eax, dword [edi + 8]
push ebx
push eax
call dword [0x100cf084]
mov ecx, dword [edi + 0xc]
test ecx, ecx
lea eax, [edi + 0xc]
jle 0x48df68
push eax
call dword [0x100cf080]
mov edx, dword [edi + 0x14]
push ebx
push 1
push edx
call dword [0x100cf088]
mov edi, dword [ebp + 0x18]
mov eax, edi
call fcn.004ac070
cmp eax, ebx
mov dword [esp + 0x8c], eax
je 0x48ecda
mov esi, edi
jmp 0x48db10
push edi
lea eax, [esp + 0x140]
call fcn.00535290
test al, al
jne 0x48def6
jmp 0x48df02
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
lea edx, [esp + 0xb4]
push edx
call eax
mov ecx, dword [ebp + 0x1c]
movzx eax, word [ecx + 8]
mov ecx, dword [ecx]
add eax, eax
mov word [esp + 0x104], ax
mov word [esp + 0x106], ax
mov edx, dword [esp + 0x104]
lea esi, [esp + 0x110]
lea edi, [esp + 0xa0]
mov dword [esp + 0x94], ebx
mov word [esp + 0x90], bx
mov word [esp + 0x92], bx
mov dword [esp + 0x110], edx
mov dword [esp + 0x114], ecx
call fcn.005055a0
lea eax, [esp + 0xb4]
mov esi, edi
mov dword [esp + 0x68], ebx
mov word [esp + 0x64], bx
mov word [esp + 0x66], bx
call fcn.00505900
test eax, eax
jne 0x48e0d3
mov ecx, dword [ebp + 0x1c]
movzx eax, word [ecx + 8]
mov ecx, dword [ecx]
add eax, eax
mov word [esp + 0x110], ax
mov word [esp + 0x112], ax
mov eax, dword [esp + 0x110]
mov dword [esp + 0x120], ecx
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0x120]
mov dword [esp + 0x120], eax
mov eax, dword [ebp + 8]
push edx
push eax
call fcn.00488a30
lea eax, [esp + 0xd4]
lea ecx, [esp + 0x90]
lea edi, [esp + 0xb4]
mov dword [esp + 0xd8], ebx
mov word [esp + 0xd4], bx
mov word [esp + 0xd6], bx
call fcn.004ab900
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0xd4]
push ecx
push edx
lea esi, [esp + 0x6c]
call fcn.005055f0
lea eax, [esp + 0xd4]
call fcn.00505660
jmp 0x48e0ec
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa0]
push eax
push ecx
lea esi, [esp + 0x6c]
call fcn.005055f0
mov esi, dword [ebp + 0x1c]
mov ax, word [esi + 8]
mov ecx, dword [esi]
add ax, ax
mov word [esp + 0x11c], ax
mov word [esp + 0x11e], ax
mov edx, dword [esp + 0x11c]
mov dword [esp + 0x12c], edx
lea edx, [esp + 0x12c]
mov dword [esp + 0x130], ecx
call fcn.004ab040
mov edi, eax
cmp edi, ebx
jne 0x48e175
mov eax, dword [esi]
mov si, word [esi + 8]
add si, si
mov word [esp + 0x12c], si
mov word [esp + 0x12e], si
mov ecx, dword [esp + 0x12c]
mov dword [esp + 0x1d0], ecx
lea ecx, [esp + 0x1d0]
mov dword [esp + 0x1d4], eax
call fcn.004aad70
test eax, eax
jne 0x48e175
xor esi, esi
mov dword [esp + 0x6c], esi
jmp 0x48e181
mov dword [esp + 0x6c], 1
mov esi, dword [esp + 0x6c]
lea edx, [esp + 0x64]
call fcn.004ab040
mov ecx, dword [esp + 0x8c]
cmp ecx, 1
jne 0x48e2c1
cmp eax, ebx
jne 0x48e1b7
cmp esi, ebx
je 0x48e1b7
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0xb8]
push eax
call fcn.004a0c20
mov eax, dword [ebp + 0x3c]
mov ecx, dword [0x100ef48c]
push eax
mov eax, dword [ebp + 0x34]
lea edx, [esp + 0x68]
mov dword [esp + 0x294], edx
mov edx, dword [ebp + 0x38]
push edx
mov edx, dword [ebp + 0x30]
push eax
mov eax, dword [ebp + 0x2c]
push edx
mov edx, dword [ebp + 0x28]
push eax
mov eax, dword [ebp + 0x24]
push edx
mov edx, dword [ebp + 0x20]
push eax
push edx
mov edx, dword [ebp + 0x10]
lea eax, [esp + 0x2a8]
push eax
mov eax, dword [ebp + 0xc]
add ecx, 0x190
push edx
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x24]
mov dword [esp + 0x2b4], 0x18
mov dword [esp + 0x2b8], ebx
mov dword [esp + 0x2c0], 0x40
mov dword [esp + 0x2c4], ebx
mov dword [esp + 0x2c8], ebx
call eax
call eax
cmp dword [0x100ef594], ebx
mov dword [esp + 0x34], eax
je 0x48e77e
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
lea esi, [esp + 0x438]
mov dword [esp + 0x1e0], ecx
mov dword [esp + 0x1e4], edx
call fcn.00537210
mov esi, eax
push 0x100d1768
call fcn.0052f5f0
push 0x100d1778
call fcn.0052f5f0
push 0x100d17c0
call fcn.0052f5f0
lea eax, [esp + 0x1e0]
mov edi, esi
call fcn.005373c0
mov esi, eax
push 0x100d17cc
call fcn.0052f5f0
mov eax, dword [esp + 0x34]
mov ecx, esi
call fcn.00537430
push 0x100d1420
mov esi, eax
call fcn.0052f5f0
lea eax, [esp + 0x438]
jmp 0x48e779
cmp ecx, 2
jne 0x48e445
cmp edi, ebx
je 0x48e41a
cmp eax, ebx
jne 0x48e41a
mov byte [esp + 0x47], bl
lea eax, [esp + 0xa0]
mov edx, dword [ebp + 0x3c]
mov ecx, dword [0x100ef48c]
push edx
mov edx, dword [ebp + 0x34]
mov dword [esp + 0x324], eax
mov eax, dword [ebp + 0x38]
push eax
mov eax, dword [ebp + 0x30]
push edx
mov edx, dword [ebp + 0x2c]
push eax
mov eax, dword [ebp + 0x28]
push edx
mov edx, dword [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x20]
push edx
push eax
mov eax, dword [ebp + 0x10]
lea edx, [esp + 0x338]
push edx
mov edx, dword [ebp + 0xc]
add ecx, 0x190
push eax
mov eax, dword [ecx]
push edx
mov edx, dword [eax + 0x24]
mov dword [esp + 0x344], 0x18
mov dword [esp + 0x348], ebx
mov dword [esp + 0x350], 0x40
mov dword [esp + 0x354], ebx
mov dword [esp + 0x358], ebx
call edx
call eax
cmp dword [0x100ef594], ebx
mov dword [esp + 0x34], eax
je 0x48e77e
cmp byte [esp + 0x47], bl
lea edi, [esp + 0x64]
jne 0x48e37d
lea edi, [esp + 0xa0]
lea esi, [esp + 0x450]
call fcn.00537210
mov esi, eax
push 0x100d1768
call fcn.0052f5f0
push 0x100d1778
call fcn.0052f5f0
push 0x100d17d8
call fcn.0052f5f0
movzx eax, byte [esp + 0x47]
mov ecx, esi
call fcn.00537430
mov esi, eax
push 0x100d17c0
call fcn.0052f5f0
mov eax, edi
mov edi, esi
call fcn.005373c0
mov esi, eax
push 0x100d17e8
call fcn.0052f5f0
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x4bc]
push ecx
call fcn.005374b0
mov ecx, eax
mov eax, esi
call fcn.00537470
push 0x100d1420
mov esi, eax
call fcn.0052f5f0
lea eax, [esp + 0x450]
call fcn.00537250
lea esi, [esp + 0x4b8]
call fcn.00490320
jmp 0x48e77e
cmp eax, ebx
mov byte [esp + 0x47], 1
jne 0x48e43c
cmp esi, ebx
je 0x48e43c
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0xb8]
push ecx
call fcn.004a0c20
lea eax, [esp + 0x64]
jmp 0x48e2e5
cmp ecx, 3
jne 0x48e77e
mov ecx, dword [ebp + 0x10]
and ecx, 0x52010102
neg ecx
sbb ecx, ecx
neg ecx
jne 0x48e57c
cmp eax, ebx
jne 0x48e57c
mov dword [esp + 0x48], ebx
mov edi, dword [esp + 0x48]
xor esi, esi
cmp edi, ebx
je 0x48e666
cmp eax, ebx
jne 0x48e65a
cmp dword [esp + 0x6c], ebx
je 0x48e4a0
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0xb8]
push eax
call fcn.004a0c20
cmp esi, ebx
je 0x48e65a
mov eax, dword [ebp + 0x3c]
mov ecx, dword [0x100ef48c]
push eax
mov eax, dword [ebp + 0x34]
lea edx, [esp + 0x68]
mov dword [esp + 0x2c4], edx
mov edx, dword [ebp + 0x38]
push edx
mov edx, dword [ebp + 0x2c]
or eax, 0x20
push eax
mov eax, dword [ebp + 0x28]
push 2
push edx
mov edx, dword [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x20]
push edx
push eax
lea edx, [esp + 0x2d8]
push edx
mov edx, dword [ecx + 0x190]
add ecx, 0x190
push 0x100082
lea eax, [esp + 0x5c]
push eax
mov eax, dword [edx + 0x24]
mov edi, 0x18
mov dword [esp + 0x60], ebx
mov dword [esp + 0x2e4], edi
mov dword [esp + 0x2e8], ebx
mov dword [esp + 0x2f0], 0x40
mov dword [esp + 0x2f4], ebx
mov dword [esp + 0x2f8], ebx
call eax
call eax
cmp eax, ebx
je 0x48e5a6
mov edx, dword [ebp + 0x40]
mov ecx, dword [ebp + 0x44]
mov dword [edx], eax
lea eax, [esp + 0x34]
mov dword [ecx], ebx
call fcn.0053d580
lea eax, [esp + 0x64]
call fcn.00505660
lea eax, [esp + 0xa0]
call fcn.00505660
lea eax, [esp + 0x90]
call fcn.00505660
lea eax, [esp + 0xb4]
call fcn.00505660
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x44
cmp ecx, ebx
mov dword [esp + 0x48], 1
je 0x48e46f
cmp eax, ebx
jne 0x48e46f
cmp edi, ebx
je 0x48e46f
mov esi, 1
jmp 0x48e485
mov eax, dword [ebp + 0x30]
cmp eax, 1
je 0x48e5b7
cmp eax, 3
jne 0x48e651
mov esi, dword [0x100ef48c]
push 0x100cf494
lea eax, [esp + 0x40c]
push eax
add esi, 0x370
call dword [0x100ef7e0]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x37c], ecx
lea edx, [esp + 0x408]
lea eax, [esp + 0x4d8]
push eax
mov dword [esp + 0x384], edx
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
lea ecx, [esp + 0x37c]
push ecx
mov ecx, esi
mov dword [esp + 0x380], edi
mov dword [esp + 0x38c], 0x40
mov dword [esp + 0x390], ebx
mov dword [esp + 0x394], ebx
call eax
call eax
cmp eax, ebx
jne 0x48e651
mov ecx, dword [esp + 0x4f8]
shr ecx, 4
not cl
test cl, 1
je 0x48e651
mov edx, dword [ebp + 0x14]
mov ebx, dword [esp + 0x34]
push edx
call fcn.004abe80
add esp, 4
xor ebx, ebx
lea eax, [esp + 0x34]
call fcn.0053d580
mov edi, dword [esp + 0x48]
cmp edi, ebx
lea eax, [esp + 0x64]
jne 0x48e66d
lea eax, [esp + 0xa0]
mov edx, dword [ebp + 0x38]
mov ecx, dword [0x100ef48c]
mov dword [esp + 0x2f0], eax
mov eax, dword [ebp + 0x3c]
push eax
mov eax, dword [ebp + 0x34]
push edx
mov edx, dword [ebp + 0x30]
push eax
mov eax, dword [ebp + 0x2c]
push edx
mov edx, dword [ebp + 0x28]
push eax
mov eax, dword [ebp + 0x24]
push edx
mov edx, dword [ebp + 0x20]
push eax
push edx
mov edx, dword [ebp + 0x10]
lea eax, [esp + 0x308]
push eax
mov eax, dword [ebp + 0xc]
add ecx, 0x190
push edx
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x24]
mov dword [esp + 0x314], 0x18
mov dword [esp + 0x318], ebx
mov dword [esp + 0x320], 0x40
mov dword [esp + 0x324], ebx
mov dword [esp + 0x328], ebx
call eax
call eax
cmp dword [0x100ef594], ebx
mov dword [esp + 0x34], eax
je 0x48e77e
cmp edi, ebx
lea edi, [esp + 0x64]
jne 0x48e703
lea edi, [esp + 0xa0]
lea esi, [esp + 0x444]
call fcn.00537210
mov esi, eax
push 0x100d1768
call fcn.0052f5f0
push 0x100d1778
call fcn.0052f5f0
push 0x100d17d8
call fcn.0052f5f0
mov eax, dword [esp + 0x48]
mov ecx, esi
call fcn.00537430
mov esi, eax
push 0x100d17c0
call fcn.0052f5f0
mov eax, edi
mov edi, esi
call fcn.005373c0
mov esi, eax
push 0x100d17cc
call fcn.0052f5f0
mov eax, dword [esp + 0x34]
mov ecx, esi
call fcn.00537430
push 0x100d1420
mov esi, eax
call fcn.0052f5f0
lea eax, [esp + 0x444]
call fcn.00537250
lea eax, [esp + 0x64]
call fcn.004a1020
mov esi, dword [esp + 0x34]
cmp esi, ebx
jne 0x48e7a2
cmp eax, ebx
je 0x48e7a2
test byte [ebp + 0x30], 6
je 0x48e7a2
lea eax, [esp + 0x64]
call fcn.004a1180
mov ecx, dword [ebp + 0x44]
mov edx, dword [ebp + 0x40]
mov dword [ecx], ebx
mov dword [edx], esi
jmp 0x48e546
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x3b8]
push ecx
mov ecx, esi
mov dword [esp + 0x12c], ebx
mov word [esp + 0x128], bx
mov word [esp + 0x12a], bx
call edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x220], ecx
mov ecx, dword [ebp + 0x1c]
lea eax, [esp + 0x4c8]
mov dword [esp + 0x224], edx
call fcn.00484340
mov ecx, eax
lea eax, [esp + 0x124]
lea edi, [esp + 0x220]
call fcn.004ab900
lea eax, [esp + 0x3b8]
call fcn.00505660
mov edx, dword [ebp + 0x3c]
mov ecx, dword [0x100ef48c]
push edx
mov edx, dword [ebp + 0x34]
lea eax, [esp + 0x128]
mov dword [esp + 0x354], eax
mov eax, dword [ebp + 0x38]
push eax
mov eax, dword [ebp + 0x30]
push edx
mov edx, dword [ebp + 0x2c]
push eax
mov eax, dword [ebp + 0x28]
push edx
mov edx, dword [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x20]
push edx
push eax
mov eax, dword [ebp + 0x10]
lea edx, [esp + 0x368]
push edx
mov edx, dword [ebp + 0xc]
add ecx, 0x190
push eax
mov eax, dword [ecx]
push edx
mov edx, dword [eax + 0x24]
mov dword [esp + 0x374], 0x18
mov dword [esp + 0x378], ebx
mov dword [esp + 0x380], 0x40
mov dword [esp + 0x384], ebx
mov dword [esp + 0x388], ebx
call edx
call eax
mov edx, dword [ebp + 0x40]
mov ecx, dword [ebp + 0x44]
mov dword [edx], eax
lea eax, [esp + 0x124]
mov dword [ecx], ebx
call fcn.00505660
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x44
mov eax, dword [ebp + 0x44]
mov ecx, dword [ebp + 0x40]
mov dword [eax], ebx
lea eax, [esp + 0x4c]
mov dword [ecx], 0xc0000034
call fcn.00505660
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x44
mov eax, dword [ebp + 0x3c]
mov ecx, dword [0x100ef48c]
push eax
mov eax, dword [ebp + 0x34]
lea edx, [esp + 0x50]
mov dword [esp + 0x27c], edx
mov edx, dword [ebp + 0x38]
push edx
mov edx, dword [ebp + 0x30]
push eax
mov eax, dword [ebp + 0x28]
push edx
mov edx, dword [ebp + 0x24]
push esi
mov esi, dword [ebp + 0xc]
push eax
push edx
mov edx, dword [ebp + 0x10]
push edi
lea eax, [esp + 0x290]
push eax
mov eax, dword [ecx + 0x190]
add ecx, 0x190
push edx
mov edx, dword [eax + 0x24]
push esi
mov dword [esp + 0x29c], 0x18
mov dword [esp + 0x2a0], ebx
mov dword [esp + 0x2a8], 0x40
mov dword [esp + 0x2ac], ebx
mov dword [esp + 0x2b0], ebx
call edx
call eax
mov edi, eax
cmp edi, ebx
jne 0x4902f0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
push eax
lea eax, [esp + 0xec]
mov dword [esp + 0xf0], ebx
mov word [esp + 0xec], bx
mov word [esp + 0xee], bx
call fcn.0049ac80
test eax, eax
je 0x48e99f
mov edx, dword [ebp + 8]
lea ecx, [esp + 0xe8]
push ecx
push esi
add edx, 0x48
push edx
call fcn.004a2700
lea eax, [esp + 0xe8]
jmp 0x4902eb
mov edx, dword [ebp + 0x14]
mov ecx, dword [0x100ef48c]
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
push edx
add ecx, 0x160
push eax
mov eax, dword [ecx]
lea edx, [esp + 0x8c]
push edx
mov edx, dword [eax + 0x24]
mov dword [esp + 0x90], ebx
call edx
call eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x78]
cmp eax, ebx
je 0x48ea0c
mov ecx, dword [0x100ef48c]
cmp ecx, ebx
push eax
je 0x48ea06
mov eax, dword [ecx + 0x2b0]
mov edx, dword [eax + 0x24]
add ecx, 0x2b0
call edx
call eax
jmp 0x48ea0c
call dword [0x100cf21c]
cmp dword [esp + 0x8c], 2
mov eax, dword [esp + 0x54]
jne 0x48ea5c
cmp eax, ebx
jne 0x48ea38
lea eax, [esp + 0x2c]
call fcn.0053d580
lea eax, [esp + 0x4c]
call fcn.00505660
mov edi, dword [ebp + 0x18]
jmp 0x48ecda
cmp eax, 0xc0000034
je 0x4901d4
cmp eax, 0xc000003a
je 0x4901d4
mov ecx, dword [ebp + 0x40]
mov edx, dword [esp + 0x54]
mov dword [ecx], edx
jmp 0x4902f5
cmp eax, ebx
jne 0x4901b3
test dword [ebp + 0x10], 0x52010102
je 0x48ea1e
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
lea edx, [esp + 0x420]
push edx
call eax
mov ecx, dword [eax]
mov dword [esp + 0x1b8], ecx
mov edx, dword [eax + 4]
mov ecx, dword [ebp + 0x1c]
lea eax, [esp + 0x488]
mov dword [esp + 0x1bc], edx
call fcn.00484340
push eax
lea eax, [esp + 0x1bc]
push eax
call fcn.004a0c20
lea eax, [esp + 0x420]
call fcn.00505660
mov eax, dword [ebp + 0x3c]
mov ecx, dword [0x100ef48c]
push eax
mov eax, dword [ebp + 0x34]
lea edx, [esp + 0x50]
mov dword [esp + 0x2ac], edx
mov edx, dword [ebp + 0x38]
push edx
mov edx, dword [ebp + 0x28]
or eax, 0x20
push eax
mov eax, dword [ebp + 0x24]
push 5
push esi
push edx
push eax
mov eax, dword [ebp + 0xc]
push edi
lea edx, [esp + 0x2c0]
push edx
mov edx, dword [ecx + 0x190]
add ecx, 0x190
push 0x100082
push eax
mov eax, dword [edx + 0x24]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x2cc], 0x18
mov dword [esp + 0x2d0], ebx
mov dword [esp + 0x2d8], 0x40
mov dword [esp + 0x2dc], ebx
mov dword [esp + 0x2e0], ebx
call eax
call eax
cmp eax, ebx
je 0x48eb59
mov edx, dword [ebp + 0x40]
mov ecx, dword [ebp + 0x44]
mov dword [edx], eax
lea eax, [esp + 0x54]
mov dword [ecx], ebx
call fcn.0053d580
jmp 0x4902fa
mov eax, dword [ebp + 0x30]
cmp eax, 1
je 0x48eb6a
cmp eax, 3
jne 0x48ebfc
mov esi, dword [0x100ef48c]
push 0x100cf494
lea eax, [esp + 0x3e4]
push eax
add esi, 0x370
call dword [0x100ef7e0]
lea edx, [esp + 0x500]
push edx
mov edx, dword [esi]
lea ecx, [esp + 0x3e4]
lea eax, [esp + 0x2d4]
mov dword [esp + 0x2dc], ecx
push eax
mov eax, dword [edx + 0x24]
mov ecx, esi
mov dword [esp + 0x2d8], 0x18
mov dword [esp + 0x2dc], ebx
mov dword [esp + 0x2e4], 0x40
mov dword [esp + 0x2e8], ebx
mov dword [esp + 0x2ec], ebx
call eax
call eax
test eax, eax
jne 0x48ebfc
test dword [esp + 0x520], 0x10
jne 0x48ebfc
mov ecx, dword [ebp + 0x14]
push ecx
xor ebx, ebx
call fcn.004abe80
add esp, 4
lea esi, [esp + 0x54]
call fcn.0053d540
mov eax, dword [ebp + 0x34]
mov ecx, dword [0x100ef48c]
push eax
lea edx, [esp + 0x50]
mov dword [esp + 0x30c], edx
mov edx, dword [ebp + 0x2c]
push edx
mov edx, dword [ebp + 0x10]
push edi
lea eax, [esp + 0x30c]
push eax
mov eax, dword [ebp + 0xc]
add ecx, 0x160
push edx
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x24]
mov dword [esp + 0x318], 0x18
mov dword [esp + 0x31c], ebx
mov dword [esp + 0x324], 0x40
mov dword [esp + 0x328], ebx
mov dword [esp + 0x32c], ebx
call eax
call eax
cmp eax, ebx
jne 0x48eb41
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
push esi
lea eax, [esp + 0xf4]
mov dword [esp + 0xf8], ebx
mov word [esp + 0xf4], bx
mov word [esp + 0xf6], bx
call fcn.0049ac80
test eax, eax
je 0x48ecb4
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0xf0]
push eax
push ecx
add esi, 0x48
push esi
call fcn.004a2700
mov eax, dword [ebp + 0x40]
mov edx, dword [ebp + 0x44]
mov dword [eax], ebx
lea eax, [esp + 0xf0]
mov dword [edx], ebx
call fcn.00505660
lea eax, [esp + 0x54]
call fcn.0053d580
jmp 0x4902fa
mov edi, esi
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x70], 1
jne 0x4901a1
mov eax, dword [ebp + 0x34]
mov edx, eax
and edx, 1
mov dword [esp + 0x34], edx
je 0x48ecf9
test al, 0x40
jne 0x48ed11
mov ecx, eax
and ecx, 0x10
mov dword [esp + 0x74], ecx
jne 0x48ed08
test al, 0x20
je 0x48ed28
test dword [ebp + 0x10], 0x100000
jne 0x48ed28
mov edx, dword [ebp + 0x44]
mov eax, dword [ebp + 0x40]
mov dword [edx], ebx
mov dword [eax], 0xc000000d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x44
mov eax, dword [ebp + 0x30]
cmp eax, ebx
je 0x48ed69
cmp eax, 2
je 0x48ed5f
cmp eax, 1
je 0x48ed5f
cmp eax, 3
je 0x48ed5f
cmp eax, 4
je 0x48ed69
cmp eax, 5
je 0x48ed5f
mov ecx, dword [ebp + 0x44]
mov edx, dword [ebp + 0x40]
mov dword [ecx], ebx
mov dword [edx], 0xc000000d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x44
cmp eax, 4
je 0x48ed69
cmp eax, 5
jne 0x48ed84
cmp edx, ebx
je 0x48ed84
mov eax, dword [ebp + 0x44]
mov ecx, dword [ebp + 0x40]
mov dword [eax], ebx
mov dword [ecx], 0xc000000d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x44
cmp edi, ebx
mov dword [esp + 0x14], edi
je 0x48ed94
mov edx, dword [edi]
mov eax, dword [edx + 4]
push edi
call eax
push 4
lea ecx, [esp + 0x3c]
push ecx
call dword [0x100ef7e8]
push 4
lea edx, [esp + 0x40]
push edx
call dword [0x100ef7e8]
push 4
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x80], ebx
call dword [0x100ef7e8]
push 4
lea ecx, [esp + 0x1c]
push ecx
call dword [0x100ef7e8]
push 4
lea edx, [esp + 0x10]
push edx
call dword [0x100ef7e8]
lea esi, [esp + 0x7c]
mov dword [esp + 0x5c], 0xffffffff
mov dword [esp + 0x20], ebx
mov word [esp + 0x1c], bx
mov word [esp + 0x1e], bx
mov dword [esp + 0x28], ebx
mov word [esp + 0x24], bx
mov word [esp + 0x26], bx
call fcn.00484560
mov dword [esp + 0x2c], 1
mov eax, dword [ebp + 0x1c]
lea esi, [esp + 0x7c]
call fcn.00484250
test eax, eax
je 0x48f484
cmp dword [esp + 0x7c], ebx
je 0x48ee81
lea eax, [esp + 0x80]
push eax
call fcn.004abcf0
add esp, 4
test eax, eax
je 0x48ef5f
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
push ecx
mov dword [esp + 0x60], 0x10
push edx
lea esi, [esp + 0x2c]
mov dword [esp + 0x34], 1
call fcn.005055f0
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
lea esi, [esp + 0x24]
call fcn.005055f0
jmp 0x48efa6
lea eax, [esp + 0x80]
call fcn.004ab0c0
test eax, eax
je 0x48f4cf
mov eax, dword [esp + 0x88]
cmp eax, 1
jne 0x48ef65
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
mov eax, dword [esp + 0x84]
mov ecx, dword [0x100ef48c]
sub eax, edx
mov dword [esp + 0x198], edx
mov dx, word [esp + 0x80]
sar eax, 1
shr dx, 1
add ax, dx
add ax, ax
mov word [esp + 0x194], ax
mov word [esp + 0x196], ax
lea eax, [esp + 0x194]
mov dword [esp + 0x338], eax
lea edx, [esp + 0x528]
add ecx, 0x370
push edx
mov edx, dword [ecx]
lea eax, [esp + 0x334]
push eax
mov eax, dword [edx + 0x24]
mov dword [esp + 0x338], 0x18
mov dword [esp + 0x33c], ebx
mov dword [esp + 0x344], 0x40
mov dword [esp + 0x348], ebx
mov dword [esp + 0x34c], ebx
call eax
call eax
test eax, eax
jne 0x48ef5f
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x548]
mov eax, dword [esp + 0x80]
push edx
mov dword [esp + 0x60], ecx
push eax
jmp 0x48ee5b
mov dword [esp + 0x2c], ebx
jmp 0x48efa6
cmp eax, ebx
jne 0x48f635
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x8c]
lea edx, [esp + 0x24]
push edx
mov edx, dword [ebp + 0x1c]
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x478]
call fcn.004843a0
call fcn.004ab1d0
add esp, 0x10
mov dword [esp + 0x2c], eax
push 4
lea ecx, [esp + 0x44]
push ecx
call dword [0x100ef7e8]
cmp dword [esp + 0x2c], ebx
je 0x48f0ea
mov eax, dword [esp + 0x88]
sub eax, ebx
je 0x48f058
sub eax, 1
jne 0x48f57f
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x1b4], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c8], ecx
mov ecx, dword [eax + 0x74]
push 3
mov dword [esp + 0x1b4], edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x1b4]
push eax
lea eax, [esp + 0x1d0]
mov dword [esp + 0x1d4], edx
mov edx, dword [ecx]
mov edx, dword [edx + 0xac]
push eax
lea eax, [esp + 0x144]
push eax
call edx
push eax
lea esi, [esp + 0x44]
call fcn.004a21c0
mov eax, dword [esp + 0x138]
cmp eax, ebx
je 0x48f429
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x138], ebx
jmp 0x48f429
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x230], eax
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x1dc], eax
mov eax, dword [esp + 0x5c]
and eax, 0x10
neg al
mov dword [esp + 0x234], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x74]
mov dword [esp + 0x1d8], edx
mov edx, dword [ecx]
mov edx, dword [edx + 0xac]
sbb eax, eax
neg eax
add eax, 1
push eax
lea eax, [esp + 0x234]
push eax
lea eax, [esp + 0x1e0]
push eax
lea eax, [esp + 0x124]
push eax
call edx
push eax
lea esi, [esp + 0x44]
call fcn.004a21c0
mov eax, dword [esp + 0x118]
cmp eax, ebx
je 0x48f429
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x118], ebx
jmp 0x48f429
mov eax, dword [edi]
mov edx, dword [eax + 0x28]
mov ecx, edi
call edx
cmp eax, 1
jne 0x48f105
cmp dword [esp + 0x88], ebx
je 0x48f598
push 0x100cf494
lea eax, [esp + 0x244]
push eax
call dword [0x100ef7e0]
mov ecx, dword [esp + 0x240]
mov edx, dword [esp + 0x244]
mov edi, dword [ebp + 0x1c]
lea esi, [esp + 0x1a0]
mov eax, edi
mov dword [esp + 0x1a4], ecx
mov dword [esp + 0x1a8], edx
mov dword [esp + 0x1ac], ebx
call fcn.00484250
test eax, eax
je 0x48f191
mov eax, dword [esp + 0x1ac]
cmp eax, ebx
je 0x48f5b1
mov ecx, 1
cmp eax, ecx
jne 0x48f191
cmp dword [ebp + 0x30], ecx
je 0x48f5cd
mov eax, dword [esp + 0x1a4]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x1a8]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
mov eax, dword [ebp + 0x30]
cmp eax, 1
je 0x48f60d
cmp eax, 4
je 0x48f60d
mov eax, dword [esp + 0x88]
cmp eax, ebx
jne 0x48f24a
mov eax, dword [ebp + 0x28]
mov esi, dword [esp + 0x34]
and eax, 0xffffff7f
cmp esi, ebx
jne 0x48f1cb
and eax, 0xffffffef
or eax, 0x20
lea edx, [esp + 0x10]
push edx
push eax
push esi
call fcn.00483650
add esp, 0xc
cmp eax, ebx
jne 0x48f5e9
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x74]
mov eax, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0xa8]
push eax
xor eax, eax
cmp esi, ebx
setne al
add eax, 1
push eax
lea eax, [esp + 0x88]
push eax
push eax
lea eax, [esp + 0x108]
push eax
call edx
push eax
lea esi, [esp + 0x44]
call fcn.004a21c0
mov eax, dword [esp + 0xf8]
cmp eax, ebx
je 0x48f237
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xf8], ebx
lea eax, [esp + 0x40]
push eax
lea esi, [esp + 0x10]
call fcn.004a21c0
jmp 0x48f429
cmp eax, 1
jne 0x48f429
lea ebx, [esp + 0x18]
call fcn.00485640
xor edi, edi
cmp eax, edi
jne 0x48f606
mov ecx, dword [esp + 0x84]
mov edx, dword [ebp + 0x1c]
lea eax, [esp + 0x470]
call fcn.004843a0
mov ecx, dword [eax]
mov dword [esp + 0x1e8], ecx
mov edx, dword [eax + 4]
push 8
lea eax, [esp + 0x1ec]
push eax
lea ecx, [esp + 0x438]
push ecx
mov dword [esp + 0x1f8], edx
call dword [0x100ef7ec]
mov esi, dword [0x100ef48c]
push 8
lea edx, [esp + 0x3f4]
push edx
mov dword [esp + 0x68], edi
add esi, 0x160
call dword [0x100ef7e8]
push edi
push 3
lea ecx, [esp + 0x3f8]
push ecx
lea edx, [esp + 0x36c]
push edx
mov edx, dword [esi]
lea eax, [esp + 0x440]
mov dword [esp + 0x378], eax
push 0x180
lea eax, [esp + 0x74]
push eax
mov eax, dword [edx + 0x24]
mov ecx, esi
mov dword [esp + 0x378], 0x18
mov dword [esp + 0x37c], edi
mov dword [esp + 0x384], 0x40
mov dword [esp + 0x388], edi
mov dword [esp + 0x38c], edi
call eax
call eax
test eax, eax
jne 0x48f3c9
mov esi, dword [0x100ef48c]
push 8
lea ecx, [esp + 0x42c]
push ecx
add esi, 0x280
call dword [0x100ef7e8]
mov ecx, dword [esp + 0x60]
push 4
push 0x28
lea edx, [esp + 0x498]
push edx
mov edx, dword [esi]
lea eax, [esp + 0x434]
push eax
mov eax, dword [edx + 0x24]
push ecx
mov ecx, esi
call eax
call eax
test eax, eax
jne 0x48f3c9
mov eax, 0x20
test dword [esp + 0x4b0], eax
jne 0x48f3c9
mov esi, dword [0x100ef48c]
or dword [esp + 0x4b0], eax
push 8
lea ecx, [esp + 0x404]
push ecx
add esi, 0x250
call dword [0x100ef7e8]
mov ecx, dword [esp + 0x60]
push 4
push 0x28
lea edx, [esp + 0x498]
push edx
mov edx, dword [esi]
lea eax, [esp + 0x40c]
push eax
mov eax, dword [edx + 0x24]
push ecx
mov ecx, esi
call eax
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x74]
mov edx, dword [ecx]
mov edx, dword [edx + 0xa4]
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x104]
push eax
call edx
push eax
lea esi, [esp + 0x44]
call fcn.004a21c0
mov eax, dword [esp + 0xfc]
cmp eax, edi
je 0x48f412
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xfc], edi
lea eax, [esp + 0x40]
push eax
lea esi, [esp + 0x10]
call fcn.004a21c0
lea eax, [esp + 0x60]
call fcn.0053d580
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x14]
lea esi, [esp + 0x38]
call fcn.004a4340
test edi, edi
je 0x48f448
mov eax, edi
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x40]
test eax, eax
mov dword [esp + 0x14], eax
je 0x48f474
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esp + 0x40]
test eax, eax
je 0x48f474
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x40], 0
mov edi, dword [esp + 0x14]
xor ebx, ebx
cmp dword [esp + 0x2c], ebx
jne 0x48ee11
mov ecx, dword [esp + 0x5c]
or edx, 0xffffffff
cmp dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x60], edx
je 0x48fcb2
mov esi, dword [ebp + 0x30]
cmp esi, 2
jne 0x48f67a
cmp dword [esp + 0x34], ebx
je 0x48f648
mov eax, dword [ebp + 0x1c]
cmp dword [eax + 0xc], edx
je 0x48f648
mov ecx, dword [ebp + 0x44]
mov edx, dword [ebp + 0x40]
mov dword [ecx], ebx
mov dword [edx], 0xc0000103
jmp 0x48f537
cmp dword [0x100ef594], ebx
je 0x48f529
lea esi, [esp + 0x45c]
call fcn.00537210
mov esi, eax
push 0x100d1778
call fcn.0052f5f0
push 0x100d1554
call fcn.0052f5f0
lea eax, [esp + 0x80]
mov edi, esi
call fcn.005373c0
mov esi, eax
push 0x100d17f4
call fcn.0052f5f0
push 0x100d1420
call fcn.0052f5f0
lea eax, [esp + 0x45c]
call fcn.00537250
mov ecx, dword [ebp + 0x40]
mov dword [ecx], 0xc000003b
mov eax, dword [ebp + 0x44]
mov dword [eax], ebx
lea eax, [esp + 0x24]
call fcn.00505660
lea eax, [esp + 0x1c]
call fcn.00505660
lea esi, [esp + 0xc]
call fcn.004c5d90
lea esi, [esp + 0x18]
call fcn.004c5d90
lea esi, [esp + 0x10]
call fcn.004c5d90
lea esi, [esp + 0x38]
call fcn.00490350
lea esi, [esp + 0x14]
call fcn.004c5d90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x44
mov edx, dword [ebp + 0x44]
mov eax, dword [ebp + 0x40]
lea esi, [esp + 0x40]
mov dword [edx], ebx
mov dword [eax], 0xc0000229
call fcn.004c5d90
jmp 0x48f537
mov ecx, dword [ebp + 0x44]
mov edx, dword [ebp + 0x40]
lea esi, [esp + 0x40]
mov dword [ecx], ebx
mov dword [edx], 0xc000003a
call fcn.004c5d90
jmp 0x48f537
mov eax, dword [ebp + 0x44]
mov ecx, dword [ebp + 0x40]
lea esi, [esp + 0x40]
mov dword [eax], ebx
mov dword [ecx], 0xc000003a
call fcn.004c5d90
jmp 0x48f537
mov edx, dword [ebp + 0x44]
mov eax, dword [ebp + 0x40]
lea esi, [esp + 0x40]
mov dword [edx], ebx
mov dword [eax], 0xc0000034
call fcn.004c5d90
jmp 0x48f537
mov ecx, dword [ebp + 0x44]
mov dword [ecx], ebx
mov edx, dword [ebp + 0x40]
and eax, 0xefffffff
lea esi, [esp + 0x40]
mov dword [edx], eax
call fcn.004c5d90
jmp 0x48f537
mov ecx, dword [ebp + 0x44]
mov dword [ecx], edi
jmp 0x48f5ee
cmp dword [esp + 0x34], ebx
je 0x48f5cd
cmp dword [edi + 0xc], 0xffffffff
je 0x48f5cd
mov eax, dword [ebp + 0x44]
mov ecx, dword [ebp + 0x40]
lea esi, [esp + 0x40]
mov dword [eax], ebx
mov dword [ecx], 0xc0000103
call fcn.004c5d90
jmp 0x48f537
mov ecx, dword [ebp + 0x44]
mov edx, dword [ebp + 0x40]
mov dword [ecx], ebx
mov dword [edx], 0xc0000229
jmp 0x48f537
test dword [ebp + 0x34], 0x40
je 0x48f667
test ecx, 0x10
je 0x48f667
mov ecx, dword [ebp + 0x40]
mov dword [ecx], 0xc00000ba
jmp 0x48f532
mov edx, dword [ebp + 0x44]
mov eax, dword [ebp + 0x40]
mov dword [edx], ebx
mov dword [eax], 0xc0000035
jmp 0x48f537
cmp esi, 1
je 0x48f926
cmp esi, 3
je 0x48f926
cmp esi, ebx
je 0x48f69e
cmp esi, 4
je 0x48f69e
cmp esi, 5
jne 0x48fcba
mov eax, dword [ebp + 0x34]
and eax, 0x40
je 0x48f6c1
test ecx, 0x10
je 0x48f6c1
mov ecx, dword [ebp + 0x44]
mov edx, dword [ebp + 0x40]
mov dword [ecx], ebx
mov dword [edx], 0xc00000ba
jmp 0x48f537
cmp eax, ebx
jne 0x48f6e1
cmp dword [esp + 0x34], ebx
jne 0x48f6e1
test ecx, 0x10
je 0x48f6e1
mov ecx, dword [ebp + 0x40]
mov dword [ecx], 0xc0000035
jmp 0x48f532
cmp esi, ebx
jne 0x48f700
test ecx, 0x10
je 0x48f700
mov edx, dword [ebp + 0x44]
mov eax, dword [ebp + 0x40]
mov dword [edx], ebx
mov dword [eax], 0xc000000d
jmp 0x48f537
cmp dword [esp + 0x34], ebx
je 0x48f70e
mov ecx, dword [ebp + 0x1c]
cmp dword [ecx + 0xc], edx
jne 0x48f6ed
mov edx, dword [edi]
mov eax, dword [edx + 0x28]
mov ecx, edi
call eax
cmp eax, 3
jne 0x48f7bd
lea ebx, [esp + 0x18]
call fcn.00485640
test eax, eax
je 0x48f74b
mov edx, dword [ebp + 0x40]
mov ecx, dword [ebp + 0x44]
and eax, 0xefffffff
mov dword [edx], eax
mov eax, dword [esp + 0x30]
mov dword [ecx], 0
test eax, eax
jmp 0x48fa08
mov eax, dword [edi]
mov edx, dword [eax + 0x2c]
lea ecx, [esp + 0x3b0]
push ecx
mov ecx, edi
call edx
mov ecx, dword [eax]
mov dword [esp + 0x250], ecx
mov edx, dword [eax + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x74]
mov eax, dword [esp + 0x18]
push eax
lea eax, [esp + 0x254]
mov dword [esp + 0x258], edx
mov edx, dword [ecx]
mov edx, dword [edx + 0xa4]
push eax
lea eax, [esp + 0xc4]
push eax
call edx
push eax
lea esi, [esp + 0x10]
call fcn.004a21c0
lea esi, [esp + 0xbc]
call fcn.004c5d90
lea eax, [esp + 0x3b0]
call fcn.00505660
xor ebx, ebx
jmp 0x48f88a
mov eax, dword [edi]
mov edx, dword [eax + 0x28]
mov ecx, edi
call edx
xor ecx, ecx
cmp eax, 2
sete cl
lea eax, [esp + 0x10]
push eax
mov eax, dword [ebp + 0x28]
push ecx
call fcn.004abb40
add esp, 4
push eax
push ecx
call fcn.00483650
add esp, 0xc
cmp eax, ebx
je 0x48f801
mov ecx, dword [ebp + 0x44]
mov edx, dword [ebp + 0x40]
and eax, 0xefffffff
mov dword [ecx], ebx
mov dword [edx], eax
jmp 0x48fa02
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x1f8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1fc], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x22c], eax
mov eax, dword [ecx + 0x74]
mov dword [esp + 0x228], edx
mov esi, dword [eax]
mov edx, dword [esp + 0x10]
mov dword [esp + 0xbc], eax
mov eax, dword [edi]
push edx
mov edx, dword [eax + 0x28]
mov ecx, edi
add esi, 0xa8
call edx
push eax
lea eax, [esp + 0x200]
push eax
mov eax, dword [esi]
lea ecx, [esp + 0x234]
push ecx
mov ecx, dword [esp + 0xcc]
lea edx, [esp + 0xd0]
push edx
call eax
push eax
lea esi, [esp + 0x10]
call fcn.004a21c0
lea esi, [esp + 0xc0]
call fcn.004c5d90
mov edx, dword [edi]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x17c]
push eax
mov ecx, edi
call edx
xor ecx, ecx
cmp dword [eax], ebx
lea esi, [esp + 0x17c]
setne cl
mov dword [esp + 0xc0], ecx
call fcn.004c5d90
cmp dword [esp + 0xc0], ebx
je 0x48f8fc
mov edx, dword [edi]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x180]
push eax
mov ecx, edi
call edx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov edx, dword [esp + 0xc]
mov eax, dword [eax + 0x48]
push edx
call eax
lea esi, [esp + 0x180]
call fcn.004c5d90
mov eax, dword [ebp + 0x30]
neg eax
sbb eax, eax
and eax, 3
mov dword [esp + 0x60], eax
jmp 0x48fcba
lea esi, [esp + 0x38]
call fcn.004f9c50
mov ebx, dword [esp + 0xc]
mov edi, dword [ebp + 0x18]
call fcn.004a4340
mov eax, dword [ebp + 0x30]
xor ebx, ebx
neg eax
sbb eax, eax
and eax, 3
mov dword [esp + 0x60], eax
jmp 0x48fcba
test dword [ebp + 0x10], 0x52000002
je 0x48fca4
cmp ecx, edx
je 0x48f94a
test cl, 0x10
je 0x48f94a
mov ecx, dword [ebp + 0x44]
mov dword [ecx], 1
jmp 0x48f537
mov esi, dword [0x100ef48c]
push 8
lea edx, [esp + 0x3ac]
push edx
add esi, 0x190
call dword [0x100ef7e8]
mov eax, dword [ebp + 0x3c]
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
push eax
mov eax, dword [ebp + 0x30]
push ecx
mov ecx, dword [ebp + 0x2c]
and edx, 0xffffefff
push edx
mov edx, dword [ebp + 0x28]
push eax
mov eax, dword [ebp + 0x24]
push ecx
push edx
mov edx, dword [ebp + 0x14]
push eax
lea ecx, [esp + 0x3c4]
push ecx
push edx
mov edx, dword [esi]
push 0x100001
lea eax, [esp + 0x58]
push eax
mov eax, dword [edx + 0x24]
mov ecx, esi
call eax
call eax
cmp eax, ebx
jne 0x48fc95
cmp dword [esp + 0x5c], 0xffffffff
jne 0x48fa72
mov edx, dword [esp + 0x30]
mov eax, dword [ebp + 8]
lea ecx, [esp + 0xa8]
push ecx
push edx
mov dword [esp + 0xb4], ebx
mov word [esp + 0xb0], bx
mov word [esp + 0xb2], bx
call fcn.0049ad00
cmp eax, ebx
je 0x48fa1a
mov edx, dword [ebp + 0x40]
mov ecx, dword [ebp + 0x44]
mov dword [edx], eax
lea eax, [esp + 0xa8]
mov dword [ecx], ebx
call fcn.00505660
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x48f537
push eax
call dword [0x100cf21c]
jmp 0x48f537
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0xac]
call fcn.004ab710
add esp, 4
cmp eax, ebx
jne 0x48f9ec
test byte [esp + 0x5c], 0x10
je 0x48fa66
mov eax, dword [ebp + 0x44]
mov dword [eax], 1
lea eax, [esp + 0xa8]
call fcn.00505660
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x48f537
push eax
call dword [0x100cf21c]
jmp 0x48f537
lea eax, [esp + 0xa8]
call fcn.00505660
mov edx, dword [edi]
mov eax, dword [edx + 0x28]
mov ecx, edi
call eax
cmp eax, 3
jne 0x48fb2e
lea ebx, [esp + 0x18]
call fcn.00485640
test eax, eax
je 0x48fabc
mov edx, dword [ebp + 0x40]
mov ecx, dword [ebp + 0x44]
and eax, 0xefffffff
mov dword [edx], eax
mov eax, dword [esp + 0x30]
test eax, eax
mov dword [ecx], 0
je 0x48f537
push eax
call dword [0x100cf21c]
jmp 0x48f537
mov eax, dword [edi]
mov edx, dword [eax + 0x2c]
lea ecx, [esp + 0x3d8]
push ecx
mov ecx, edi
call edx
mov ecx, dword [eax]
mov dword [esp + 0x208], ecx
mov edx, dword [eax + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x74]
mov eax, dword [esp + 0x18]
push eax
lea eax, [esp + 0x20c]
mov dword [esp + 0x210], edx
mov edx, dword [ecx]
mov edx, dword [edx + 0xa4]
push eax
lea eax, [esp + 0x1a4]
push eax
call edx
push eax
lea esi, [esp + 0x10]
call fcn.004a21c0
lea esi, [esp + 0x19c]
call fcn.004c5d90
lea eax, [esp + 0x3d8]
call fcn.00505660
xor ebx, ebx
jmp 0x48fbf5
mov eax, dword [edi]
mov edx, dword [eax + 0x28]
mov ecx, edi
call edx
xor ecx, ecx
cmp eax, 2
sete cl
lea eax, [esp + 0x10]
push eax
mov eax, dword [ebp + 0x28]
push ecx
call fcn.004abb40
add esp, 4
push eax
push ecx
call fcn.00483650
add esp, 0xc
cmp eax, ebx
je 0x48fb72
mov ecx, dword [ebp + 0x44]
mov edx, dword [ebp + 0x40]
and eax, 0xefffffff
mov dword [ecx], ebx
mov dword [edx], eax
jmp 0x48fa02
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x24c], ecx
mov ecx, dword [ebp + 8]
mov edi, dword [ecx + 0x74]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x248], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x218], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x21c], eax
mov eax, dword [ecx]
mov esi, dword [edi]
push edx
mov edx, dword [eax + 0x28]
add esi, 0xa8
call edx
push eax
lea eax, [esp + 0x250]
push eax
mov eax, dword [esi]
lea ecx, [esp + 0x224]
push ecx
lea edx, [esp + 0xd4]
push edx
mov ecx, edi
call eax
push eax
lea esi, [esp + 0x10]
call fcn.004a21c0
lea esi, [esp + 0xc4]
call fcn.004c5d90
mov edi, dword [esp + 0x14]
test dword [ebp + 0x34], 0x1000
je 0x48fc0b
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x54]
push 1
call eax
mov edx, dword [edi]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x184]
push eax
mov ecx, edi
call edx
xor ecx, ecx
cmp dword [eax], ebx
lea esi, [esp + 0x184]
setne cl
mov dword [esp + 0xc4], ecx
call fcn.004c5d90
cmp dword [esp + 0xc4], ebx
je 0x48fc74
mov edx, dword [edi]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x18c]
push eax
mov ecx, edi
call edx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov edx, dword [esp + 0xc]
mov eax, dword [eax + 0x48]
push edx
call eax
lea esi, [esp + 0x18c]
call fcn.004c5d90
mov dword [esp + 0x60], 1
jmp 0x48fcba
lea esi, [esp + 0x38]
call fcn.004f9c50
mov ebx, dword [esp + 0xc]
mov edi, dword [ebp + 0x18]
call fcn.004a4340
xor ebx, ebx
mov dword [esp + 0x60], 1
jmp 0x48fcba
mov ecx, dword [ebp + 0x44]
mov edx, dword [ebp + 0x40]
mov dword [ecx], ebx
mov dword [edx], eax
jmp 0x48fa02
mov eax, dword [ebp + 0x44]
mov dword [eax], 1
jmp 0x48f537
mov dword [esp + 0x60], 2
push 4
lea ecx, [esp + 0x5c]
push ecx
call dword [0x100ef7e8]
cmp dword [esp + 0x10], ebx
je 0x48ff64
push 4
lea edx, [esp + 0x74]
push edx
call dword [0x100ef7e8]
cmp dword [esp + 0x78], ebx
je 0x48fe21
cmp dword [esp + 0x34], ebx
je 0x48fd13
mov eax, dword [ebp + 0x44]
mov ecx, dword [ebp + 0x40]
mov dword [eax], ebx
mov dword [ecx], 0xc0000103
lea esi, [esp + 0x70]
call fcn.004c5d90
lea esi, [esp + 0x58]
call fcn.004c5d90
jmp 0x48fa02
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x98]
sub eax, 2
mov dword [esp + 0xe0], eax
lea eax, [esp + 0x70]
push eax
mov eax, dword [ebp + 0x34]
push eax
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0xe4], ecx
add ecx, 2
push eax
mov eax, dword [ebp + 0x28]
mov word [esp + 0xe8], cx
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
push ebx
call fcn.004abb40
mov edx, dword [edx + 0xc]
add esp, 4
push eax
mov eax, dword [ebp + 0x10]
push eax
lea eax, [esp + 0xf0]
push eax
call edx
mov edi, eax
cmp edi, ebx
jne 0x48fe8b
mov esi, dword [ebp + 0x1c]
cmp dword [esi + 0xc], 0xffffffff
je 0x48fe8b
lea eax, [esp + 0x480]
mov edx, esi
call fcn.00484510
mov ecx, dword [eax + 4]
lea eax, [esp + 0x478]
mov edx, esi
call fcn.004843a0
mov ecx, dword [eax]
mov dword [esp + 0x238], ecx
mov edx, dword [eax + 4]
push 8
lea eax, [esp + 0x23c]
push eax
lea ecx, [esp + 0x1f8]
push ecx
mov dword [esp + 0x248], edx
call dword [0x100ef7ec]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x100]
push eax
lea eax, [esp + 0x1f4]
push eax
call edx
test eax, eax
jne 0x48fe8b
mov eax, dword [esp + 0x100]
test al, 0x20
jne 0x48fe8b
mov ecx, dword [esp + 0x10]
or eax, 0x20
mov dword [esp + 0x100], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
push eax
lea eax, [esp + 0x1f4]
push eax
call edx
jmp 0x48fe8b
push 0x100cf494
lea eax, [esp + 0x204]
push eax
call dword [0x100ef7e0]
mov ecx, dword [esp + 0x200]
mov edx, dword [esp + 0x204]
mov esi, dword [esp + 0x10]
push 0x100cf494
lea eax, [esp + 0x3ec]
push eax
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xe8], edx
call dword [0x100ef7e0]
mov ecx, dword [ebp + 0x34]
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x70]
push eax
mov eax, dword [ebp + 0x2c]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
push ecx
lea eax, [esp + 0x3f8]
push eax
mov ecx, esi
call edx
mov edi, eax
cmp dword [esp + 0x30], ebx
je 0x48fed6
push 4
lea eax, [esp + 0xcc]
push eax
call dword [0x100ef7e8]
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0xc8]
push eax
call edx
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0xc8]
push eax
call fcn.004abdb0
add esp, 4
lea esi, [esp + 0xc8]
call fcn.004c5d90
xor ebx, ebx
cmp edi, ebx
je 0x48feef
mov ecx, dword [ebp + 0x44]
mov edx, dword [ebp + 0x40]
and edi, 0xefffffff
mov dword [ecx], ebx
mov dword [edx], edi
jmp 0x48fcfc
mov eax, dword [ebp + 0x34]
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0xc]
push eax
push ecx
push edx
lea eax, [esp + 0xe8]
push eax
lea ecx, [esp + 0x1a0]
push ecx
call fcn.004b8680
mov eax, dword [eax]
add esp, 0x14
test eax, eax
mov dword [esp + 0x134], eax
je 0x48ff2d
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x134]
push ecx
lea esi, [esp + 0x5c]
call fcn.004a21c0
lea esi, [esp + 0x134]
call fcn.004c5d90
lea esi, [esp + 0x190]
call fcn.004c5d90
lea esi, [esp + 0x70]
call fcn.004c5d90
jmp 0x490086
cmp dword [esp + 0x18], ebx
je 0x490086
cmp dword [esp + 0x34], ebx
je 0x48ff90
mov edx, dword [ebp + 0x44]
mov eax, dword [ebp + 0x40]
lea esi, [esp + 0x58]
mov dword [edx], ebx
mov dword [eax], 0xc0000103
call fcn.004c5d90
jmp 0x48fa02
push 4
lea ecx, [esp + 0x4c]
push ecx
call dword [0x100ef7e8]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x48]
push eax
call edx
cmp eax, ebx
je 0x48ffd7
mov ecx, dword [ebp + 0x44]
mov edx, dword [ebp + 0x40]
and eax, 0xefffffff
lea esi, [esp + 0x48]
mov dword [ecx], ebx
mov dword [edx], eax
call fcn.004c5d90
lea esi, [esp + 0x58]
call fcn.004c5d90
jmp 0x48fa02
mov ebx, dword [ebp + 0x34]
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x188]
push eax
mov eax, dword [ebp + 0x10]
call fcn.004bad80
mov eax, dword [eax]
add esp, 4
test eax, eax
mov dword [esp + 0x10c], eax
je 0x49000a
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea eax, [esp + 0x10c]
push eax
lea esi, [esp + 0x5c]
call fcn.004a21c0
lea esi, [esp + 0x10c]
call fcn.004c5d90
lea esi, [esp + 0x188]
call fcn.004c5d90
cmp dword [esp + 0x30], 0
je 0x49007d
push 4
lea ecx, [esp + 0xb4]
push ecx
call dword [0x100ef7e8]
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0xb0]
push eax
call edx
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0xb0]
push eax
call fcn.004abdb0
add esp, 4
lea esi, [esp + 0xb0]
call fcn.004c5d90
lea esi, [esp + 0x48]
call fcn.004c5d90
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x74]
lea esi, [esp + 0xe4]
call fcn.004aad20
push 4
lea edx, [esp + 0x70]
push edx
call dword [0x100ef7e8]
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
push eax
lea ebx, [esp + 0x70]
mov eax, edi
call fcn.0048b590
test eax, eax
jne 0x49016f
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx]
mov esi, eax
mov eax, dword [edx + 0xc]
call eax
cmp esi, eax
jne 0x49016f
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4900f2
mov edx, dword [ecx]
mov eax, dword [esp + 0x3c]
mov edx, dword [edx + 0x48]
push eax
call edx
lea esi, [esp + 0x6c]
call fcn.004c5d90
lea esi, [esp + 0xe4]
call fcn.004aad40
test dword [ebp + 0x10], 0x100000
je 0x490127
test dword [ebp + 0x34], 0x20
jne 0x490127
cmp dword [esp + 0x74], 0
jne 0x490127
mov eax, 1
jmp 0x490129
xor eax, eax
push eax
push edi
mov edi, dword [esp + 0x60]
call fcn.0048b1a0
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x60]
mov dword [ecx], eax
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x40]
mov dword [eax + 4], edx
mov dword [eax], 0
mov eax, dword [ebp + 0x44]
lea esi, [esp + 0x58]
mov dword [eax], 0
mov dword [ecx], 0
call fcn.004c5d90
mov eax, dword [esp + 0x30]
test eax, eax
jmp 0x48fa08
mov edx, dword [ebp + 0x48]
lea esi, [esp + 0x6c]
mov dword [edx], 1
call fcn.004c5d90
lea esi, [esp + 0xe4]
call fcn.004aad40
lea esi, [esp + 0x58]
call fcn.004c5d90
mov eax, dword [esp + 0x30]
test eax, eax
jmp 0x48fa08
mov eax, dword [ebp + 0x44]
mov dword [eax], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x44
cmp eax, 0xc0000034
je 0x4901d4
cmp eax, 0xc000003a
je 0x4901d4
mov ecx, dword [ebp + 0x44]
mov edx, dword [ebp + 0x40]
mov eax, dword [esp + 0x54]
mov dword [ecx], ebx
mov dword [edx], eax
jmp 0x4902fa
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x3f8]
push eax
call edx
mov ecx, dword [eax]
mov dword [esp + 0x210], ecx
mov edx, dword [eax + 4]
mov ecx, dword [ebp + 0x1c]
lea eax, [esp + 0x4d0]
mov dword [esp + 0x214], edx
call fcn.00484340
push eax
lea eax, [esp + 0x214]
push eax
call fcn.004a0c20
lea eax, [esp + 0x3f8]
call fcn.00505660
mov eax, dword [ebp + 0x3c]
mov ecx, dword [0x100ef48c]
push eax
mov eax, dword [ebp + 0x34]
lea edx, [esp + 0x50]
mov dword [esp + 0x39c], edx
mov edx, dword [ebp + 0x38]
push edx
mov edx, dword [ebp + 0x30]
push eax
mov eax, dword [ebp + 0x28]
push edx
mov edx, dword [ebp + 0x24]
push esi
mov esi, dword [ebp + 0xc]
push eax
push edx
mov edx, dword [ebp + 0x10]
push edi
lea eax, [esp + 0x3b0]
push eax
mov eax, dword [ecx + 0x190]
add ecx, 0x190
push edx
mov edx, dword [eax + 0x24]
push esi
mov dword [esp + 0x3bc], 0x18
mov dword [esp + 0x3c0], ebx
mov dword [esp + 0x3c8], 0x40
mov dword [esp + 0x3cc], ebx
mov dword [esp + 0x3d0], ebx
call edx
call eax
mov edi, eax
cmp edi, ebx
jne 0x4902f0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
push eax
lea eax, [esp + 0x9c]
mov dword [esp + 0xa0], ebx
mov word [esp + 0x9c], bx
mov word [esp + 0x9e], bx
call fcn.0049ac80
test eax, eax
je 0x4902e4
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x98]
push ecx
push esi
add edx, 0x48
push edx
call fcn.004a2700
lea eax, [esp + 0x98]
call fcn.00505660
mov ecx, dword [ebp + 0x40]
mov dword [ecx], edi
mov eax, dword [ebp + 0x44]
mov dword [eax], ebx
lea eax, [esp + 0x2c]
call fcn.0053d580
lea eax, [esp + 0x4c]
call fcn.00505660
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x44