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

Disassembly:
sub esp, 0x94
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
shl edx, 6
mov eax, dword [ecx + 0x20]
push ebx
mov dword [esp + 0x18], eax
lea ebx, [edx + ecx + 0x24]
xor eax, eax
push ebp
mov al, byte [ebx + 0x28]
mov ebp, dword [ecx]
push esi
push edi
lea edx, [eax*8]
mov edi, dword [ebp + 0xc]
sub edx, eax
mov eax, dword [ecx + 0xc]
push edi
mov dword [esp + 0x54], edi
lea eax, [eax + edx*8 + 8]
mov dword [esp + 0x30], eax
mov edx, dword [eax + 0x18]
mov eax, dword [ebx]
mov esi, eax
mov dword [esp + 0x24], edx
shr eax, 0x17
and eax, 1
shr esi, 0x19
mov dword [esp + 0x58], eax
mov eax, dword [ecx + 8]
and esi, 1
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], esi
call fcn.0047bad0
push edi
mov dword [esp + 0x40], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x18], eax
call fcn.0047bad0
mov dword [ebx + 0x20], eax
mov dword [esp + 0x50], eax
mov al, byte [ebx + 0x28]
add esp, 8
test al, al
jbe 0x492a99
mov ecx, dword [esp + 0x2c]
test byte [ecx + 0x15], 8
je 0x492a99
mov edx, dword [ebp + 0x48]
inc edx
mov eax, edx
mov dword [ebp + 0x48], edx
push eax
push 0
push 0x31
push edi
mov dword [ebx + 0xc], eax
call fcn.0047b6a0
add esp, 0x10
mov ecx, dword [ebx]
test ecx, 0x8000000
je 0x492c8a
mov eax, dword [ebx + 8]
mov dword [esp + 0x2c], eax
mov esi, dword [eax]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], eax
lea eax, [esi + 2]
push eax
push ebp
mov dword [esp + 0x4c], edx
mov dword [esp + 0x44], eax
call fcn.0047e560
mov ecx, dword [ebp + 0x54]
add esp, 8
inc ecx
cmp esi, 1
mov dword [esp + 0x28], eax
mov dword [ebp + 0x54], ecx
mov dword [esp + 0x14], 1
jl 0x492b56
mov ecx, dword [esp + 0x1c]
xor esi, esi
test ecx, ecx
jle 0x492b41
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x14]
cmp dword [eax], edx
je 0x492b0b
inc esi
add eax, 8
cmp esi, ecx
jl 0x492afd
jmp 0x492b41
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
lea eax, [ecx + edx + 1]
mov edx, dword [esp + 0x18]
lea ecx, [esi + esi*2]
push eax
mov eax, dword [edx + ecx*4 + 8]
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x14]
lea eax, [eax + eax*4]
mov eax, dword [edx + eax*8]
mov ecx, dword [eax + 0xc]
push ecx
push ebp
call fcn.0047bd90
mov ecx, dword [esp + 0x28]
add esp, 0xc
cmp esi, ecx
je 0x492b56
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jle 0x492aeb
mov eax, dword [ebp + 0x54]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
dec eax
mov dword [ebp + 0x54], eax
mov eax, dword [esi + 0x14]
push edx
push eax
push 0x31
push edi
call fcn.0047b6a0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x24]
inc ecx
dec edx
push ecx
push edx
push 0x31
push edi
call fcn.0047b6a0
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
neg eax
mov edx, dword [esp + 0x48]
sbb eax, eax
and al, 0xf7
add eax, 0xfffffffe
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x48]
push edx
push eax
push ecx
push 0x68
push edi
call fcn.0047a9d0
mov eax, dword [esp + 0x58]
add esp, 0x3c
test eax, eax
mov dword [esi + 0x1c], 0
jle 0x492c11
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x18]
add ecx, 4
mov dword [esp + 0x18], eax
lea esi, [edx + 8]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x1c]
cmp byte [edx], 0
je 0x492bf8
mov eax, dword [esi]
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x14]
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
push eax
push ebx
call fcn.00493740
add esp, 8
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add edx, 8
add esi, 0xc
dec eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
jne 0x492bd6
mov esi, dword [esp + 0x20]
push edi
mov byte [ebx + 0x29], 1
mov dword [ebx + 0x2c], esi
call fcn.0045caa0
mov dword [ebx + 0x30], eax
mov eax, dword [esp + 0x44]
add esp, 4
test eax, eax
jl 0x492c80
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00493a20
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x492c68
mov edx, dword [esp + 0x28]
push edx
push esi
push 0xc
push edi
call fcn.0047b6a0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
push eax
push ecx
push 0x34
push edi
call fcn.0047b6a0
add esp, 0x20
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x28]
push edx
push eax
push ebp
call fcn.0047e5b0
add esp, 0xc
jmp 0x493574
mov dword [esp + 0x10], 0
jmp 0x492c68
test ch, 0x10
je 0x492d41
push ebp
call fcn.0047e440
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xb8]
push 0
push 3
mov esi, eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push 0xffffffffffffffff
push eax
push ecx
mov dword [esp + 0x4c], esi
call fcn.004925b0
push esi
push ebx
push eax
push ebp
call fcn.004937e0
mov esi, eax
mov eax, dword [ebx + 0x1c]
push eax
push esi
push 0x27
push edi
mov dword [esp + 0x54], eax
call fcn.0047b6a0
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x60]
add esp, 0x40
push esi
push edx
push eax
push 0x2f
push edi
call fcn.0047aa10
mov ecx, dword [esp + 0x38]
mov eax, 1
add esp, 0x14
cmp dword [ecx + 0xc], eax
jne 0x492d37
mov ecx, dword [esp + 0x40]
test ecx, ecx
jl 0x492d37
push esi
push ecx
push 0x34
push edi
mov dword [esp + 0x20], eax
call fcn.0047b6a0
add esp, 0x10
mov edx, dword [esp + 0x2c]
push edx
push ebp
call fcn.0047e470
add esp, 8
mov byte [ebx + 0x29], 0x19
jmp 0x493574
mov dword [esp + 0x10], 0
jmp 0x492d20
test ch, 0x20
je 0x492fa8
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0x20]
push 0
push 0x24
push eax
mov eax, dword [esp + 0x30]
push ecx
push 0xffffffffffffffff
push edx
push eax
mov dword [esp + 0x30], 0x19
mov dword [esp + 0x34], 0
call fcn.004925b0
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0xd0]
push 0
push 0x18
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
push 0xffffffffffffffff
push eax
push ecx
call fcn.004925b0
add esp, 0x38
mov dword [esp + 0x34], eax
test esi, esi
je 0x492dc3
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x492e40
mov eax, dword [eax]
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0x20], 0x79
mov edx, dword [eax + 0xc]
mov byte [esp + 0x21], 0x38
push edx
push ebp
mov byte [esp + 0x2a], 0x59
mov byte [esp + 0x2b], 0x6d
mov dword [esp + 0x38], eax
call fcn.0047dd20
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x48], eax
push eax
mov eax, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x40]
xor edx, edx
push ecx
mov dl, byte [eax]
xor ecx, ecx
mov cl, byte [esp + edx - 0x16]
push ecx
push edi
call fcn.0047aa10
mov edx, dword [esp + 0x5c]
push 1
push edx
push ebp
call fcn.0047dc10
mov eax, dword [esp + 0x70]
push eax
push ebp
call fcn.0047e470
mov ecx, dword [esp + 0x64]
push ecx
push ebx
call fcn.00493740
add esp, 0x3c
jmp 0x492e60
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x20]
mov ecx, esi
push edx
neg ecx
sbb ecx, ecx
push eax
and ecx, 0xffffffbf
add ecx, 0x78
push ecx
push edi
call fcn.0047b6a0
add esp, 0x10
mov eax, dword [esp + 0x34]
test eax, eax
je 0x492ec2
mov ecx, dword [ebp + 0x48]
mov edx, eax
inc ecx
mov eax, dword [edx]
mov dword [ebp + 0x48], ecx
mov dword [esp + 0x2c], eax
push ecx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x1c], ecx
push eax
push ebp
call fcn.0047bd90
mov ecx, dword [esp + 0x38]
add esp, 0xc
mov al, byte [ecx]
cmp al, 0x4c
je 0x492ea5
cmp al, 0x4a
je 0x492ea5
mov eax, esi
neg eax
sbb eax, eax
and eax, 2
add eax, 0x4a
jmp 0x492eb0
mov eax, esi
neg eax
sbb eax, eax
and al, 0xfe
add eax, 0x4d
mov edx, dword [esp + 0x34]
mov dword [esp + 0x14], eax
push edx
push ebx
call fcn.00493740
add esp, 8
push edi
call fcn.0045caa0
mov ecx, esi
mov edx, dword [esp + 0x24]
add esp, 4
mov dword [ebx + 0x30], eax
mov eax, dword [esp + 0x30]
mov dword [ebx + 0x2c], edx
neg ecx
sbb cl, cl
and cl, 0xc7
add cl, 0x6b
test eax, eax
mov byte [ebx + 0x29], cl
jne 0x492efb
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x492efb
mov eax, 1
jmp 0x492efd
xor eax, eax
mov byte [ebx + 0x2a], al
mov eax, dword [esp + 0x40]
test eax, eax
jl 0x492f9b
mov eax, dword [esp + 0x24]
push eax
call fcn.00493a20
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x492f30
cmp dword [esp + 0x14], 0x19
je 0x493574
mov edi, dword [esp + 0x50]
push ebp
call fcn.0047e440
mov ecx, dword [esp + 0x24]
mov esi, eax
push esi
push ecx
push 0x29
push edi
call fcn.0047b6a0
mov eax, dword [esp + 0x28]
add esp, 0x14
cmp eax, 0x19
je 0x492f73
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push esi
push edx
push eax
push ecx
push edi
call fcn.0047aa10
push 0x6b
push edi
call fcn.0047b6c0
add esp, 0x1c
mov eax, dword [esp + 0x10]
test eax, eax
je 0x492f8c
mov edx, dword [esp + 0x40]
push esi
push edx
push 0x34
push edi
call fcn.0047b6a0
add esp, 0x10
push esi
push ebp
call fcn.0047e470
add esp, 8
jmp 0x493574
mov dword [esp + 0x10], 0
jmp 0x492f21
test ecx, 0x30000
je 0x4933f6
mov edx, dword [ebx + 8]
mov esi, dword [ebx + 4]
mov dword [esp + 0x34], edx
mov edx, dword [ebx + 0x14]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x34]
xor eax, eax
mov dword [esp + 0x6c], 0x78
mov edx, dword [edx + 8]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], 0x37
mov edx, dword [edx + esi*4]
mov dword [esp + 0x74], 0x79
mov dword [esp + 0x18], edx
mov dl, byte [esp + 0xb0]
test dl, 1
mov dword [esp + 0x78], 0x59
mov dword [esp + 0x7c], 0x6d
mov dword [esp + 0x80], 0x38
mov dword [esp + 0x58], 0x19
mov dword [esp + 0x5c], 0x40
mov dword [esp + 0x60], 0x2a
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], eax
je 0x49305a
test ecx, 0x1000000
je 0x49305a
mov edx, dword [esp + 0x34]
cmp dword [edx + 4], esi
jle 0x49305a
mov eax, 1
mov dword [esp + 0x3c], eax
test ecx, 0x100000
je 0x493099
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xb4]
push eax
mov eax, dword [esp + 0x1c]
push 0x18
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x34]
push eax
push ecx
push edx
call fcn.004925b0
mov dword [esp + 0x44], eax
add esp, 0x1c
mov eax, 1
test dword [ebx], 0x200000
je 0x4930d8
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xb4]
push eax
mov eax, dword [esp + 0x1c]
push 0x24
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x34]
push eax
push ecx
push edx
call fcn.004925b0
mov dword [esp + 0x54], eax
add esp, 0x1c
mov eax, 1
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0xbc]
push eax
push ecx
push edx
push ebx
push ebp
call fcn.00493900
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x1c]
add esp, 0x18
mov edx, dword [ecx + 0x28]
mov dword [esp + 0x14], eax
xor eax, eax
cmp byte [edx + esi], 0
mov ecx, dword [esp + 0x4c]
sete al
cmp ecx, eax
jne 0x49312d
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], eax
jmp 0x493135
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
xor edx, edx
cmp eax, edx
je 0x493145
test byte [eax + 0x10], 0x28
mov dword [esp + 0x44], edx
je 0x49314d
mov dword [esp + 0x44], 1
cmp ecx, edx
je 0x49315b
test byte [ecx + 0x10], 0x28
mov dword [esp + 0x2c], edx
je 0x493163
mov dword [esp + 0x2c], 1
cmp eax, edx
jne 0x49316f
cmp esi, edx
mov dword [esp + 0x18], edx
jle 0x493177
mov dword [esp + 0x18], 1
cmp eax, edx
mov dword [esp + 0x30], esi
je 0x4931ce
mov eax, dword [ebp + 0x54]
cmp ecx, edx
mov dword [esp + 0x3c], eax
je 0x49318e
inc eax
mov dword [ebp + 0x54], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x38]
lea eax, [ecx + esi]
push eax
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
push ecx
push ebp
call fcn.0047bd90
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x48]
push eax
lea eax, [ecx + esi]
mov dword [ebp + 0x54], edx
push eax
push 0x46
push edi
call fcn.0047b6a0
lea edx, [esi + 1]
add esp, 0x1c
mov dword [esp + 0x30], edx
jmp 0x4931ff
cmp dword [esp + 0x3c], edx
je 0x4931ff
mov eax, dword [esp + 0x10]
add eax, esi
push eax
push 0
push 0x75
push edi
call fcn.0047b6a0
lea ecx, [esi + 1]
add esp, 0x10
mov dword [esp + 0x30], ecx
mov dword [esp + 0x44], 0
mov dword [esp + 0x18], 1
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
push edx
push eax
push ecx
push ebp
call fcn.004937a0
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push 0xfffffffffffffff2
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x38]
push edx
lea edx, [eax + ecx*2]
mov eax, dword [esp + 0x70]
lea ecx, [eax + edx*2]
mov edx, dword [esp + ecx*4 + 0x88]
push edx
push edi
call fcn.0047a9d0
mov eax, dword [esp + 0x54]
add esp, 0x2c
test eax, eax
mov dword [esp + 0x30], esi
je 0x4932a3
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
add eax, esi
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0xc]
push eax
push ebp
call fcn.0047bd90
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push ecx
lea eax, [edx + esi]
push eax
push 0x46
push edi
call fcn.0047b6a0
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x2c]
lea eax, [esi + 1]
push ecx
push eax
push edx
push ebp
call fcn.004937a0
lea eax, [esi + 1]
add esp, 0x2c
mov dword [esp + 0x30], eax
push edi
call fcn.0045caa0
mov dword [ebx + 0x30], eax
mov eax, dword [esp + 0x2c]
add esp, 4
test eax, eax
jne 0x4932bf
test esi, esi
jne 0x4932bf
xor eax, eax
jmp 0x4932c4
mov eax, 1
mov ecx, dword [esp + 0x4c]
inc ecx
imul ecx, eax
mov eax, dword [esp + ecx*4 + 0x58]
cmp eax, 0x19
je 0x493309
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
push 0xfffffffffffffff2
push edx
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push ecx
push eax
push edi
call fcn.0047a9d0
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x48]
cmp eax, edx
setne al
push eax
push edi
call fcn.0047b6c0
add esp, 0x24
push ebp
call fcn.0047e440
mov dword [esp + 0x18], eax
mov eax, dword [ebx]
add esp, 4
test eax, 0x300000
je 0x493347
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push ecx
push esi
push edx
push 3
push edi
call fcn.0047aa10
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
push 0x46
push edi
call fcn.0047b6a0
add esp, 0x24
mov edx, dword [esp + 0x38]
push edx
push ebx
call fcn.00493740
mov eax, dword [esp + 0x30]
push eax
push ebx
call fcn.00493740
mov eax, dword [esp + 0x50]
add esp, 0x10
test eax, eax
jl 0x493377
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00493a20
add esp, 4
jmp 0x493379
xor eax, eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x493389
test eax, eax
je 0x4933cb
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push esi
push edx
push 0x3a
push edi
call fcn.0047b6a0
mov eax, dword [esp + 0x20]
add esp, 0x10
test eax, eax
push esi
je 0x4933b9
mov eax, dword [esp + 0x44]
push eax
push 0x34
push edi
call fcn.0047b6a0
add esp, 0x10
jmp 0x4933cf
mov ecx, dword [esp + 0x24]
push ecx
push 5
push edi
call fcn.0047b6a0
add esp, 0x10
jmp 0x4933cf
mov esi, dword [esp + 0x14]
push esi
push ebp
call fcn.0047e470
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x24]
add esp, 8
mov dword [ebx + 0x2c], eax
neg edx
sbb dl, dl
and dl, 0xc7
add dl, 0x6b
mov byte [ebx + 0x29], dl
jmp 0x493574
test ecx, 0x10000000
je 0x493548
mov eax, dword [ebx + 8]
mov dword [esp + 0x54], eax
mov ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x40]
test eax, eax
mov dword [esp + 0x3c], ecx
jl 0x493430
mov edx, dword [esp + 0x24]
mov ecx, 1
cmp dword [edx + 0xc], ecx
jne 0x493430
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
jmp 0x493450
push ebp
mov dword [esp + 0x14], 0
call fcn.0047e440
push eax
push 0
push 0x75
push edi
mov dword [esp + 0x2c], eax
call fcn.0047b6a0
add esp, 0x14
mov esi, dword [esp + 0x2c]
mov eax, 1
mov word [esp + 0x64], ax
mov word [esp + 0x66], ax
mov eax, dword [esp + 0x3c]
mov ecx, 0xe
lea edi, [esp + 0x6c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0xc]
mov esi, dword [eax + 0x14]
xor edi, edi
test ecx, ecx
jle 0x4934c5
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 8]
cmp ecx, eax
je 0x493491
cmp word [esi + 0x10], 0x200
jne 0x4934b8
mov ecx, dword [esp + 0x18]
mov edx, dword [esi]
push ecx
push 0x38
push 0
lea eax, [esp + 0x70]
push edx
push eax
push ebp
call fcn.00490060
add esp, 0x18
test eax, eax
je 0x4934b8
push eax
call fcn.00493b70
add esp, 4
mov ecx, dword [esp + 0x3c]
inc edi
add esi, 0x28
cmp edi, dword [ecx + 0xc]
jl 0x49347e
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x50]
push edx
push edi
call fcn.0047bb30
mov eax, dword [esp + 0x18]
add esp, 8
test eax, eax
jne 0x493534
push ebp
call fcn.0047e440
mov ecx, dword [esp + 0x1c]
mov esi, eax
mov eax, dword [esp + 0x3c]
push esi
push eax
push ecx
push 0x33
push edi
call fcn.0047aa10
mov edx, dword [esp + 0x38]
push esi
push edx
push 5
push edi
mov dword [esp + 0x70], eax
call fcn.0047b6a0
push esi
push ebp
call fcn.0047e470
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x78]
add esp, 0x30
mov byte [ebx + 0x29], 0x61
mov dword [ebx + 0x30], eax
push ecx
push ebx
call fcn.00493740
add esp, 8
jmp 0x493574
mov ecx, dword [esp + 0x54]
mov byte [ebx + 0x29], 0x19
push ecx
push ebx
call fcn.00493740
add esp, 8
jmp 0x493574
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x20]
push edx
push eax
push 0x78
push edi
mov byte [ebx + 0x29], 0x6b
mov dword [ebx + 0x2c], eax
call fcn.0047b6a0
add esp, 0x10
inc eax
mov dword [ebx + 0x30], eax
mov byte [ebx + 0x2a], 1
mov dword [esp + 0x10], 0
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [esi + 4]
push ecx
call fcn.00490ba0
mov edi, dword [esp + 0xc0]
mov ecx, dword [esp + 0xbc]
not edx
mov esi, dword [esi + 0x14]
and edi, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xc0], edi
not eax
and ecx, eax
mov eax, dword [edx + 0xc]
add esp, 8
xor edi, edi
test eax, eax
mov dword [esp + 0xb4], ecx
jle 0x493633
mov dword [esp + 0x2c], eax
test byte [esi + 0x12], 6
jne 0x493625
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xb8]
and eax, ecx
mov ecx, dword [esi + 0x24]
and ecx, edx
or eax, ecx
jne 0x493625
mov ecx, dword [ebx + 0xc]
mov eax, dword [esi]
test ecx, ecx
je 0x4935f7
mov cl, byte [eax + 2]
and cl, 1
cmp cl, 1
jne 0x493625
mov edx, dword [esp + 0x48]
mov ecx, dword [ebp + 0x54]
push 8
push edx
add ecx, edi
push eax
push ebp
mov dword [ebp + 0x54], ecx
call fcn.0047de80
mov ecx, dword [ebp + 0x54]
add esp, 0x10
sub ecx, edi
mov edi, 1
mov dword [ebp + 0x54], ecx
mov al, byte [esi + 0x12]
or al, 4
mov byte [esi + 0x12], al
mov eax, dword [esp + 0x2c]
add esi, 0x28
dec eax
mov dword [esp + 0x2c], eax
jne 0x4935c1
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4936cc
mov esi, dword [esp + 0x50]
push esi
call fcn.0045caa0
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0xc]
push eax
push 1
push 0x31
push esi
call fcn.0047b6a0
mov ecx, dword [ebx + 0x10]
push ecx
push ebp
call fcn.0048e8b0
mov edx, dword [ebx + 0x14]
push edx
push ebp
call fcn.0048e8b0
mov eax, dword [esp + 0x48]
add esp, 0x24
mov ecx, eax
xor edi, edi
mov esi, dword [eax + 0x14]
mov eax, dword [ecx + 0xc]
test eax, eax
jle 0x4936cc
test byte [esi + 0x12], 6
jne 0x4936bf
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xb8]
and eax, ecx
mov ecx, dword [esi + 0x24]
and ecx, edx
or eax, ecx
jne 0x4936bf
mov edx, dword [esp + 0x48]
mov eax, dword [esi]
push 8
push edx
push eax
push ebp
call fcn.0047de80
mov al, byte [esi + 0x12]
add esp, 0x10
or al, 4
mov byte [esi + 0x12], al
mov ecx, dword [esp + 0x24]
inc edi
add esi, 0x28
cmp edi, dword [ecx + 0xc]
jl 0x493682
mov edi, dword [esp + 0x40]
test edi, edi
jl 0x493722
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x493722
push ebp
call fcn.0047e440
mov esi, eax
mov eax, dword [ebx]
add esp, 4
test eax, 0x8000000
push esi
je 0x4936fa
mov edx, dword [esp + 0x24]
push edx
push 0xc
jmp 0x493701
mov eax, dword [esp + 0x24]
push eax
push 0x29
mov ebx, dword [esp + 0x5c]
push ebx
call fcn.0047b6a0
add esp, 0x10
push esi
push edi
push 0x34
push ebx
call fcn.0047b6a0
push esi
push ebp
call fcn.0047e470
add esp, 0x18
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0xb8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret