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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
push esi
push edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x164]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
cmp eax, dword [edx + 0x90]
jne 0x47025f
mov ecx, dword [ebp + 8]
add ecx, 0x120
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
add edx, 0x124
mov dword [ebp - 4], edx
jmp 0x47027a
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x12c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x12c]
add eax, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
mov dword [ecx], edx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
call eax
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
add ecx, 5
mov dword [ebp - 0xb4], ecx
cmp dword [ebp - 0xb4], 0x12
ja case.default.0x4702d9
mov edx, dword [ebp - 0xb4]
jmp dword [edx*4 + 0x471228]
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x4702f7
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x14]
mov dword [ecx], edx
xor eax, eax
jmp 0x471220
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x18]
mov dword [eax], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x3c], 0
je 0x470326
mov byte [ebp - 0x15], 0xa
push 1
lea eax, [ebp - 0x15]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
call ecx
add esp, 0xc
jmp 0x470347
mov edx, dword [ebp + 8]
cmp dword [edx + 0x50], 0
je 0x470347
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00476db0
add esp, 0x10
cmp dword [ebp + 0xc], 0
jne 0x470357
mov eax, 3
jmp 0x471220
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x138]
cmp edx, dword [ebp + 0xc]
je 0x47036f
mov eax, 0xd
jmp 0x471220
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov dword [eax], ecx
xor eax, eax
jmp 0x471220
movzx edx, byte [ebp + 0x20]
test edx, edx
je 0x470395
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x14]
mov dword [eax], ecx
xor eax, eax
jmp 0x471220
cmp dword [ebp + 0xc], 0
jle 0x4703c2
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x138]
cmp eax, dword [ebp + 0xc]
je 0x4703b3
mov eax, 0xd
jmp 0x471220
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x14]
mov dword [ecx], edx
xor eax, eax
jmp 0x471220
mov eax, 3
jmp 0x471220
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, 4
jmp 0x471220
movzx edx, byte [ebp + 0x20]
test edx, edx
je 0x4703f5
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x14]
mov dword [eax], ecx
xor eax, eax
jmp 0x471220
mov eax, 5
jmp 0x471220
movzx edx, byte [ebp + 0x20]
test edx, edx
je 0x470416
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x14]
mov dword [eax], ecx
xor eax, eax
jmp 0x471220
mov eax, 6
jmp 0x471220
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x14]
sub eax, dword [edx + 0x44]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
add edx, dword [ecx + 0x44]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x30]
call edx
add esp, 0xc
mov byte [ebp - 0x21], al
movsx eax, byte [ebp - 0x21]
test eax, eax
je 0x470497
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x3c], 0
je 0x470471
push 1
lea edx, [ebp - 0x21]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3c]
call eax
add esp, 0xc
jmp 0x470492
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x50], 0
je 0x470492
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00476db0
add esp, 0x10
jmp 0x4711d7
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [eax + 0x44]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
add eax, dword [edx + 0x44]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xc]
add edx, 0x50
push edx
call fcn.004792a0
add esp, 0x10
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4704d1
mov eax, 1
jmp 0x471220
push 0
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00478940
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x60]
mov dword [edx + 0x5c], ecx
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + 0x81]
test eax, eax
je 0x47050e
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + 0x82]
test edx, edx
je 0x470537
cmp dword [ebp - 0x1c], 0
jne 0x470520
mov eax, 0xb
jmp 0x471220
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax + 0x22]
test ecx, ecx
jne 0x470535
mov eax, 0x18
jmp 0x471220
jmp 0x470586
cmp dword [ebp - 0x1c], 0
jne 0x470586
mov edx, dword [ebp + 8]
cmp dword [edx + 0x78], 0
je 0x470560
push 0
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
call ecx
add esp, 0xc
jmp 0x470581
mov edx, dword [ebp + 8]
cmp dword [edx + 0x50], 0
je 0x470581
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00476db0
add esp, 0x10
jmp 0x4711d7
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + 0x20]
test edx, edx
je 0x47059b
mov eax, 0xc
jmp 0x471220
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x1c], 0
je 0x4705ae
mov eax, 0xf
jmp 0x471220
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 4], 0
je 0x47063c
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x134]
test eax, eax
jne 0x470614
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x78], 0
je 0x4705ee
push 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
call ecx
add esp, 0xc
jmp 0x47060f
mov edx, dword [ebp + 8]
cmp dword [edx + 0x50], 0
je 0x47060f
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00476db0
add esp, 0x10
jmp 0x4711d7
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00475b70
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x470637
mov eax, dword [ebp - 0x28]
jmp 0x471220
jmp 0x4706e0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x70], 0
je 0x4706bf
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + 0x20], 1
mov edx, dword [ebp + 8]
push edx
call fcn.00477480
add esp, 4
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0x20], 0
cmp dword [ebp - 0x2c], 0
jne 0x470672
mov eax, 1
jmp 0x471220
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x74]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x70]
call edx
add esp, 0x14
test eax, eax
jne 0x4706ab
mov eax, 0x15
jmp 0x471220
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1b0]
mov dword [eax + 0x1ac], edx
jmp 0x4706e0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x50], 0
je 0x4706e0
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00476db0
add esp, 0x10
jmp 0x4711d7
mov edx, dword [ebp + 8]
cmp dword [edx + 0x170], 0
je 0x470713
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x170]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x170]
mov ecx, dword [ebp + 8]
mov edx, dword [eax]
mov dword [ecx + 0x170], edx
jmp 0x470777
push 0x30
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
call ecx
add esp, 4
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x470733
mov eax, 1
jmp 0x471220
push 0x20
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
call eax
add esp, 4
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x24], eax
mov edx, dword [ebp - 0x30]
cmp dword [edx + 0x24], 0
jne 0x470768
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
call edx
add esp, 4
mov eax, 1
jmp 0x471220
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x24]
add ecx, 0x20
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x28], ecx
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x2c], 0
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x16c]
mov dword [ecx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x30]
mov dword [ecx + 0x16c], edx
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
add eax, dword [edx + 0x44]
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x20]
call eax
add esp, 8
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 8], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x138]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x138], eax
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x30]
add eax, dword [ecx + 8]
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x28]
sub ecx, 1
push ecx
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x3c]
call ecx
add esp, 0x14
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
sub eax, dword [edx + 0x24]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [ebp - 0x40]
jne 0x470854
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x44]
mov dword [edx + 0x18], eax
jmp 0x4708b1
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x30]
mov eax, dword [ecx + 0x28]
sub eax, dword [edx + 0x24]
shl eax, 1
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x24]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
call edx
add esp, 8
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x47088e
mov eax, 1
jmp 0x471220
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x4c]
mov dword [eax + 0x24], ecx
mov edx, dword [ebp - 0x4c]
add edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x28], edx
mov ecx, dword [ebp - 0x4c]
add ecx, dword [ebp - 0x44]
mov dword [ebp - 0x34], ecx
jmp 0x470810
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x24]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0x34]
mov byte [edx], 0
mov eax, dword [ebp - 0x30]
add eax, 0x2c
push eax
mov ecx, dword [ebp - 0x30]
add ecx, 0xc
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00471280
add esp, 0x14
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x4708f6
mov eax, dword [ebp - 0x38]
jmp 0x471220
mov edx, dword [ebp + 8]
cmp dword [edx + 0x34], 0
je 0x470924
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x188]
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x34]
call ecx
add esp, 0xc
jmp 0x470945
mov edx, dword [ebp + 8]
cmp dword [edx + 0x50], 0
je 0x470945
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00476db0
add esp, 0x10
mov ecx, dword [ebp + 8]
add ecx, 0x1a0
push ecx
call fcn.00478f60
add esp, 4
jmp 0x4711d7
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
add eax, dword [edx + 0x44]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x6d], 1
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x20]
call ecx
add esp, 8
add eax, dword [ebp - 0x6c]
push eax
mov edx, dword [ebp - 0x6c]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x1a0
push ecx
call fcn.004792a0
add esp, 0x10
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x4709b7
mov eax, 1
jmp 0x471220
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1ac]
mov dword [edx + 0x1b0], ecx
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00471280
add esp, 0x14
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
je 0x4709f6
mov eax, dword [ebp - 0x74]
jmp 0x471220
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1ac]
mov dword [ecx + 0x1b0], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x34], 0
je 0x470a35
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x188]
push eax
mov ecx, dword [ebp - 0x68]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x34]
call edx
add esp, 0xc
mov byte [ebp - 0x6d], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x38], 0
je 0x470a6b
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x34], 0
je 0x470a51
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
call eax
add esp, 8
mov byte [ebp - 0x6d], 0
movzx ecx, byte [ebp - 0x6d]
test ecx, ecx
je 0x470a94
mov edx, dword [ebp + 8]
cmp dword [edx + 0x50], 0
je 0x470a94
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00476db0
add esp, 0x10
mov ecx, dword [ebp + 8]
add ecx, 0x1a0
push ecx
call fcn.00478f60
add esp, 4
cmp dword [ebp - 0x50], 0
je 0x470b09
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x68], 0
je 0x470ad5
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x68]
call ecx
add esp, 8
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 4]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x178]
mov dword [ecx + 4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x78]
mov dword [ecx + 0x178], edx
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x78]
mov eax, dword [edx + 8]
mov dword [ecx + 4], eax
jmp 0x470aa6
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x138], 0
jne 0x470b32
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00475910
add esp, 0x10
jmp 0x471220
jmp 0x4711d7
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x138]
cmp ecx, dword [ebp + 0xc]
jne 0x470b54
mov eax, 0xd
jmp 0x471220
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x16c]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx]
mov dword [ecx + 0x16c], eax
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x170]
mov dword [ecx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x7c]
mov dword [ecx + 0x170], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x44]
mov edx, dword [ebp + 0x14]
lea eax, [edx + ecx*2]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x20]
call ecx
add esp, 8
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x80]
cmp eax, dword [edx + 8]
jne 0x470bd3
mov ecx, dword [ebp - 0x80]
mov edi, dword [ebp - 0x84]
mov edx, dword [ebp - 0x7c]
mov esi, dword [edx + 4]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x470be8
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x84]
mov dword [ecx], edx
mov eax, 7
jmp 0x471220
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x138]
sub ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x138], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x38], 0
je 0x470d28
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xec]
test ecx, ecx
je 0x470d0d
cmp dword [ebp - 0x88], 0
je 0x470d0d
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x7c]
add eax, dword [ecx + 0x1c]
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x88]
movsx eax, byte [edx]
test eax, eax
je 0x470c84
mov ecx, dword [ebp - 0x90]
mov edx, dword [ebp - 0x88]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x90]
add ecx, 1
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x88]
add edx, 1
mov dword [ebp - 0x88], edx
jmp 0x470c47
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0xed]
test eax, eax
je 0x470d04
cmp dword [ebp - 0x8c], 0
je 0x470d04
mov ecx, dword [ebp - 0x90]
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x1d8]
mov byte [ecx], al
mov ecx, dword [ebp - 0x90]
add ecx, 1
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x8c]
movsx eax, byte [edx]
test eax, eax
je 0x470d04
mov ecx, dword [ebp - 0x90]
mov edx, dword [ebp - 0x8c]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x90]
add ecx, 1
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x8c]
add edx, 1
mov dword [ebp - 0x8c], edx
jmp 0x470cc7
mov eax, dword [ebp - 0x90]
mov byte [eax], 0
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
call eax
add esp, 8
jmp 0x470d49
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x50], 0
je 0x470d49
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00476db0
add esp, 0x10
mov eax, dword [ebp - 0x7c]
cmp dword [eax + 0x2c], 0
je 0x470dcd
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx + 0x2c]
mov dword [ebp - 0x94], edx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x68], 0
je 0x470d84
mov ecx, dword [ebp - 0x94]
mov edx, dword [ecx]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x68]
call ecx
add esp, 8
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0x2c]
mov ecx, dword [ebp - 0x7c]
mov edx, dword [eax + 4]
mov dword [ecx + 0x2c], edx
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x178]
mov dword [eax + 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x94]
mov dword [eax + 0x178], ecx
mov edx, dword [ebp - 0x94]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x94]
mov edx, dword [ecx + 8]
mov dword [eax + 4], edx
jmp 0x470d49
mov eax, dword [ebp + 8]
cmp dword [eax + 0x138], 0
jne 0x470df6
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00475910
add esp, 0x10
jmp 0x471220
jmp 0x4711d7
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x2c]
call edx
add esp, 8
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
jge 0x470e27
mov eax, 0xe
jmp 0x471220
mov eax, dword [ebp + 8]
cmp dword [eax + 0x3c], 0
je 0x470e62
lea ecx, [ebp - 0x9c]
push ecx
mov edx, dword [ebp - 0x98]
push edx
call fcn.0048bbd0
add esp, 8
push eax
lea eax, [ebp - 0x9c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
call ecx
add esp, 0xc
jmp 0x470e83
mov edx, dword [ebp + 8]
cmp dword [edx + 0x50], 0
je 0x470e83
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00476db0
add esp, 0x10
jmp 0x4711d7
mov eax, 0x11
jmp 0x471220
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x3c], 0
je 0x470ebf
mov byte [ebp - 0x9d], 0xa
push 1
lea edx, [ebp - 0x9d]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3c]
call eax
add esp, 0xc
jmp 0x470ee0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x50], 0
je 0x470ee0
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00476db0
add esp, 0x10
jmp 0x4711d7
mov eax, dword [ebp + 8]
cmp dword [eax + 0x48], 0
je 0x470f02
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x48]
call ecx
add esp, 4
jmp 0x470f23
mov edx, dword [ebp + 8]
cmp dword [edx + 0x50], 0
je 0x470f23
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00476db0
add esp, 0x10
movzx ecx, byte [ebp + 0x20]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00472570
add esp, 0x18
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
je 0x470f60
mov eax, dword [ebp - 0xa4]
jmp 0x471220
cmp dword [ebp - 0x14], 0
jne 0x470f7e
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x118], 0x472450
mov eax, dword [ebp - 0xa4]
jmp 0x471220
jmp 0x4711d7
movzx edx, byte [ebp + 0x20]
test edx, edx
je 0x470f9a
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x14]
mov dword [eax], ecx
xor eax, eax
jmp 0x471220
mov edx, dword [ebp + 8]
cmp dword [edx + 0x3c], 0
je 0x47102a
mov eax, dword [ebp + 0x10]
movsx ecx, byte [eax + 0x48]
test ecx, ecx
jne 0x47100b
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2c]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
push edx
lea eax, [ebp - 0xa8]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
lea edx, [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x3c]
call edx
add esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xa8]
sub ecx, dword [eax + 0x2c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
call ecx
add esp, 0xc
jmp 0x471028
mov edx, dword [ebp + 0x18]
sub edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
call ecx
add esp, 0xc
jmp 0x47104b
mov edx, dword [ebp + 8]
cmp dword [edx + 0x50], 0
je 0x47104b
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00476db0
add esp, 0x10
cmp dword [ebp + 0xc], 0
jne 0x471063
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x18]
mov dword [ecx], edx
mov eax, 3
jmp 0x471220
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x138]
cmp ecx, dword [ebp + 0xc]
je 0x471083
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0x18]
mov dword [edx], eax
mov eax, 0xd
jmp 0x471220
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
mov dword [ecx], edx
xor eax, eax
jmp 0x471220
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 0xac], ecx
cmp dword [ebp - 0xac], 0
je 0x471146
mov edx, dword [ebp + 0x10]
movsx eax, byte [edx + 0x48]
test eax, eax
jne 0x471129
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
push ecx
lea edx, [ebp - 0xb0]
push edx
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x3c]
call ecx
add esp, 0x14
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0x14]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xb0]
sub edx, dword [ecx + 0x2c]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [ebp - 0xac]
add esp, 0xc
mov ecx, dword [ebp + 0x14]
cmp ecx, dword [ebp - 0x14]
jne 0x47111d
jmp 0x471127
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0x14]
mov dword [edx], eax
jmp 0x4710b6
jmp 0x471144
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [ebp - 0xac]
add esp, 0xc
jmp 0x471167
mov edx, dword [ebp + 8]
cmp dword [edx + 0x50], 0
je 0x471167
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00476db0
add esp, 0x10
jmp 0x4711d7
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00476b30
add esp, 0x10
test eax, eax
jne 0x47118f
mov eax, 1
jmp 0x471220
jmp 0x4711d7
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00476d00
add esp, 0x10
test eax, eax
jne 0x4711b4
mov eax, 1
jmp 0x471220
jmp 0x4711d7
mov eax, dword [ebp + 8]
cmp dword [eax + 0x50], 0
je 0x4711d7
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00476db0
add esp, 0x10
mov edx, dword [ebp - 0x14]
mov dword [ebp + 0x14], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x14]
mov dword [eax], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1e0]
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 2
je 0x471214
cmp dword [ebp - 0xb8], 3
je 0x471208
jmp 0x47121b
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
xor eax, eax
jmp 0x471220
mov eax, 0x23
jmp 0x471220
jmp 0x470282
pop edi
pop esi
mov esp, ebp
pop ebp
ret