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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x504a80
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x5466b0]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
push esi
push edi
mov eax, dword [0x5466b0]
xor eax, esp
push eax
lea eax, [esp + 0x220]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x1c], edx
cmp eax, 5
jne 0x436e2d
xor edi, edi
cmp esi, edi
je 0x437e79
cmp ebx, edi
jbe 0x437e79
lea eax, [esp + 0x14]
push esi
push eax
call fcn.0046405d
add esp, 8
mov dword [esp + 0x228], edi
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
cmp eax, edi
je 0x436de4
push str..dat
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x436de4
mov edi, 1
push edi
push ecx
call fcn.00410fd0
mov ecx, dword [esp + 0x1c]
add esp, 4
push eax
call fcn.00415090
mov dword [esp + 0x228], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x436e23
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x437e82
cmp eax, 6
jne 0x436fcd
push 0x54cfe0
push 0x10
call fcn.004cba2a
xor ebx, ebx
add esp, 8
cmp eax, ebx
je 0x436e5c
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax], vtable.varstream.0
mov ebx, eax
mov edi, ebx
mov dword [esp + 0x14], edi
mov eax, 1
mov dword [esp + 0x228], eax
test ebx, ebx
je 0x436fa9
test esi, esi
je 0x436f79
cmp dword [ebp + 0x10], eax
jb 0x436f79
mov ecx, dword [esi + 4]
cmp dword [ecx], eax
jne 0x436f0a
lea edx, [esp + 0x10]
call fcn.004310b0
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x22c], 2
call fcn.00417860
mov byte [esp + 0x228], 3
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
push 0x548678
push ecx
push eax
lea ecx, [esp + 0x44]
call fcn.00476613
add esp, 0xc
test eax, eax
jne 0x436eee
mov edi, dword [esp + 0x48]
sub edi, dword [esp + 0x44]
je 0x436eee
test edi, edi
ja 0x436ee2
call fcn.004cb4f7
mov edx, dword [esp + 0x44]
push edx
mov eax, ebx
call fcn.0047a901
lea esi, [esp + 0x38]
call fcn.00417930
lea eax, [esp + 0x10]
mov byte [esp + 0x228], 1
call fcn.0042afc0
jmp 0x436f75
cmp dword [ecx], 6
jne 0x436f79
mov esi, dword [ecx + 8]
test esi, esi
je 0x436f79
lea eax, [esp + 0x38]
push eax
call fcn.00417860
mov byte [esp + 0x228], 4
mov eax, dword [esi + 0xc]
mov esi, dword [esi + 4]
push 0x548678
push eax
push esi
lea ecx, [esp + 0x44]
call fcn.00476613
add esp, 0xc
test eax, eax
jne 0x436f64
mov edi, dword [esp + 0x48]
sub edi, dword [esp + 0x44]
je 0x436f64
test edi, edi
ja 0x436f58
call fcn.004cb4f7
mov ecx, dword [esp + 0x44]
push ecx
mov eax, ebx
call fcn.0047a901
lea esi, [esp + 0x38]
mov byte [esp + 0x228], 1
call fcn.00417930
mov edi, dword [esp + 0x14]
push 0x54cfe0
push 0x10
call fcn.004cba2a
add esp, 8
test eax, eax
je 0x436f9d
xor edi, edi
mov dword [eax + 8], ebx
mov dword [esp + 0x14], edi
mov dword [eax], 6
jmp 0x436f9f
xor eax, eax
mov ecx, dword [esp + 0x1c]
push eax
call fcn.0040ed50
mov dword [esp + 0x228], 0xffffffff
test edi, edi
je 0x436fc3
mov edx, dword [edi]
mov eax, dword [edx + 8]
push 1
mov ecx, edi
call eax
mov eax, 1
jmp 0x437e82
cmp eax, 7
jne 0x437186
push 0x54cfe0
push 0x10
call fcn.004cba2a
add esp, 8
test eax, eax
je 0x436ffe
xor ecx, ecx
mov dword [eax], vtable.varstream.0
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov ebx, eax
jmp 0x437000
xor ebx, ebx
mov edi, ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x228], 5
test ebx, ebx
je 0x436fa9
test esi, esi
je 0x43715b
cmp dword [ebp + 0x10], 1
jb 0x43715b
mov ecx, dword [esi + 4]
cmp dword [ecx], 1
jne 0x4370aa
lea edx, [esp + 0x10]
call fcn.004310b0
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x22c], 6
call fcn.00417860
lea edx, [esp + 0x38]
mov byte [esp + 0x228], 7
mov ecx, dword [esp + 0x10]
push 0x548678
push edx
call fcn.00476848
add esp, 8
test eax, eax
jne 0x43708b
mov edi, dword [esp + 0x48]
sub edi, dword [esp + 0x44]
je 0x43708b
test edi, edi
ja 0x43707f
call fcn.004cb4f7
mov eax, dword [esp + 0x44]
push eax
mov eax, ebx
call fcn.0047a901
lea esi, [esp + 0x38]
call fcn.00417930
lea eax, [esp + 0x10]
mov byte [esp + 0x228], 5
call fcn.0042afc0
jmp 0x437157
cmp dword [ecx], 6
jne 0x43715b
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x43715b
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], 0
mov byte [esp + 0x58], 0
lea edx, [esp + 0x54]
push edx
mov eax, ecx
mov byte [esp + 0x22c], 8
call fcn.0047b340
lea eax, [esp + 0x38]
push eax
call fcn.00417860
mov byte [esp + 0x228], 9
cmp dword [esp + 0x6c], 0x10
mov ecx, dword [esp + 0x58]
jae 0x437108
lea ecx, [esp + 0x58]
lea edx, [esp + 0x38]
push 0x548678
push edx
call fcn.00476848
add esp, 8
test eax, eax
jne 0x43713d
mov edi, dword [esp + 0x48]
sub edi, dword [esp + 0x44]
je 0x43713d
test edi, edi
ja 0x437131
call fcn.004cb4f7
mov eax, dword [esp + 0x44]
push eax
mov eax, ebx
call fcn.0047a901
lea esi, [esp + 0x38]
call fcn.00417930
lea ecx, [esp + 0x54]
mov byte [esp + 0x228], 5
call fcn.004018a0
mov edi, dword [esp + 0x14]
push 0x54cfe0
push 0x10
call fcn.004cba2a
add esp, 8
test eax, eax
je 0x436f9d
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [eax + 8], ebx
mov dword [eax], 6
jmp 0x436f9f
cmp eax, 8
jne 0x437329
push 0x54cfe0
push 0x10
call fcn.004cba2a
add esp, 8
test eax, eax
je 0x4371b7
xor ecx, ecx
mov dword [eax], vtable.varstream.0
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov ebx, eax
jmp 0x4371b9
xor ebx, ebx
mov edi, ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x228], 0xa
test ebx, ebx
je 0x436fa9
test esi, esi
je 0x436f79
cmp dword [ebp + 0x10], 1
jb 0x436f79
mov ecx, dword [esi + 4]
cmp dword [ecx], 1
jne 0x437271
lea edx, [esp + 0x10]
call fcn.004310b0
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x22c], 0xb
call fcn.00417860
lea edx, [esp + 0x38]
mov byte [esp + 0x228], 0xc
mov ecx, dword [esp + 0x10]
push 0x548570
push edx
call fcn.00476848
add esp, 8
test eax, eax
jne 0x437252
mov esi, dword [esp + 0x48]
sub esi, dword [esp + 0x44]
je 0x437252
test esi, esi
ja 0x437240
call fcn.004cb4f7
mov eax, dword [esp + 0x44]
push eax
mov edi, esi
mov eax, ebx
call fcn.0047a901
mov edi, dword [esp + 0x14]
lea esi, [esp + 0x38]
call fcn.00417930
lea eax, [esp + 0x10]
mov byte [esp + 0x228], 0xa
call fcn.0042afc0
jmp 0x436f79
cmp dword [ecx], 6
jne 0x436f79
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x436f79
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], 0
mov byte [esp + 0x58], 0
lea edx, [esp + 0x54]
push edx
mov eax, ecx
mov byte [esp + 0x22c], 0xd
call fcn.0047b340
lea eax, [esp + 0x38]
push eax
call fcn.00417860
mov byte [esp + 0x228], 0xe
cmp dword [esp + 0x6c], 0x10
mov ecx, dword [esp + 0x58]
jae 0x4372cf
lea ecx, [esp + 0x58]
lea edx, [esp + 0x38]
push 0x548570
push edx
call fcn.00476848
add esp, 8
test eax, eax
jne 0x43730a
mov esi, dword [esp + 0x48]
sub esi, dword [esp + 0x44]
je 0x43730a
test esi, esi
ja 0x4372f8
call fcn.004cb4f7
mov eax, dword [esp + 0x44]
push eax
mov edi, esi
mov eax, ebx
call fcn.0047a901
mov edi, dword [esp + 0x14]
lea esi, [esp + 0x38]
call fcn.00417930
lea ecx, [esp + 0x54]
mov byte [esp + 0x228], 0xa
call fcn.004018a0
jmp 0x436f79
cmp eax, 9
jne 0x437496
push 0x54cfe0
push 0x10
call fcn.004cba2a
add esp, 8
test eax, eax
je 0x43735a
xor ecx, ecx
mov dword [eax], vtable.varstream.0
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov ebx, eax
jmp 0x43735c
xor ebx, ebx
mov edi, ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x228], 0xf
test ebx, ebx
je 0x436fa9
test esi, esi
je 0x436f79
cmp dword [ebp + 0x10], 1
jb 0x436f79
mov ecx, dword [esi + 4]
cmp dword [ecx], 1
jne 0x437418
lea edx, [esp + 0x10]
call fcn.004310b0
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x22c], 0x10
call fcn.00417860
mov byte [esp + 0x228], 0x11
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
push 0x548570
push ecx
push eax
lea ecx, [esp + 0x44]
call fcn.00476613
add esp, 0xc
test eax, eax
jne 0x4373f9
mov esi, dword [esp + 0x48]
sub esi, dword [esp + 0x44]
je 0x4373f9
test esi, esi
ja 0x4373e7
call fcn.004cb4f7
mov edx, dword [esp + 0x44]
push edx
mov edi, esi
mov eax, ebx
call fcn.0047a901
mov edi, dword [esp + 0x14]
lea esi, [esp + 0x38]
call fcn.00417930
lea eax, [esp + 0x10]
mov byte [esp + 0x228], 0xf
call fcn.0042afc0
jmp 0x436f79
cmp dword [ecx], 6
jne 0x436f79
mov esi, dword [ecx + 8]
test esi, esi
je 0x436f79
lea eax, [esp + 0x38]
push eax
call fcn.00417860
mov byte [esp + 0x228], 0x12
mov eax, dword [esi + 0xc]
mov esi, dword [esi + 4]
push 0x548570
push eax
push esi
lea ecx, [esp + 0x44]
call fcn.00476613
add esp, 0xc
test eax, eax
jne 0x437480
mov esi, dword [esp + 0x48]
sub esi, dword [esp + 0x44]
je 0x437480
test esi, esi
ja 0x43746e
call fcn.004cb4f7
mov ecx, dword [esp + 0x44]
push ecx
mov edi, esi
mov eax, ebx
call fcn.0047a901
mov edi, dword [esp + 0x14]
lea esi, [esp + 0x38]
mov byte [esp + 0x228], 0xf
call fcn.00417930
jmp 0x436f79
cmp eax, 0xc
jne 0x437935
push 0x54cfe0
push 0x10
call fcn.004cba2a
xor ecx, ecx
add esp, 8
cmp eax, ecx
je 0x4374cb
mov edi, eax
mov dword [eax], vtable.varstream.0
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [esp + 0x14], edi
jmp 0x4374d1
mov dword [esp + 0x14], ecx
mov edi, ecx
mov ebx, edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x228], 0x13
test edi, edi
je 0x437911
test esi, esi
je 0x4378db
cmp dword [ebp + 0x10], 2
jb 0x4378db
lea ecx, [esp + 0xa8]
push ecx
call fcn.00417860
mov bl, 0x14
mov byte [esp + 0x228], bl
mov ecx, dword [esi + 4]
cmp dword [ecx], 1
jne 0x437556
lea edx, [esp + 0x18]
call fcn.004310b0
lea edx, [esp + 0xa8]
mov byte [esp + 0x228], 0x15
mov ecx, dword [esp + 0x18]
push 0x548570
push edx
call fcn.00476848
add esp, 8
lea eax, [esp + 0x18]
mov byte [esp + 0x228], bl
call fcn.0042afc0
jmp 0x4375bd
cmp dword [ecx], 6
jne 0x4375bd
mov eax, dword [ecx + 8]
test eax, eax
je 0x4375bd
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x22c], 0x16
call fcn.0047b340
cmp dword [esp + 0x50], 0x10
mov ecx, dword [esp + 0x3c]
jae 0x437598
lea ecx, [esp + 0x3c]
lea edx, [esp + 0xa8]
push 0x548570
push edx
call fcn.00476848
add esp, 8
lea ecx, [esp + 0x38]
mov byte [esp + 0x228], bl
call fcn.004018a0
mov eax, dword [esp + 0xb8]
sub eax, dword [esp + 0xb4]
je 0x4378bf
lea ebx, [esp + 0x23]
lea edi, [esp + 0xa8]
mov byte [esp + 0x23], 0
call fcn.00417a60
lea ecx, [esp + 0xc4]
push ecx
call fcn.00456870
and dword [esp + 0x2c], 0xfffffe00
mov dword [esp + 0x30], 0
mov byte [esp + 0x228], 0x19
mov edx, dword [esp + 0xb8]
sub edx, dword [esp + 0xb4]
jne 0x437620
call fcn.004cb4f7
mov eax, dword [esp + 0xb4]
push eax
lea ecx, [esp + 0x74]
call fcn.00401110
push 1
lea ecx, [esp + 0x28]
push ecx
lea eax, [esp + 0x78]
lea edi, [esp + 0xcc]
mov byte [esp + 0x230], 0x1a
call fcn.00456930
test al, al
lea ecx, [esp + 0x70]
sete bl
mov byte [esp + 0x228], 0x19
call fcn.004018a0
test bl, bl
jne 0x4378a2
cmp byte [esp + 0x2c], bl
je 0x4378a2
lea eax, [esp + 0x24]
call fcn.0044fbe0
test al, al
je 0x4378a2
push 0x518840
lea edx, [esp + 0x28]
push edx
call fcn.0044f770
mov bl, 4
cmp byte [eax + 8], bl
jne 0x4378a2
push 0x518844
lea eax, [esp + 0x28]
push eax
call fcn.0044f770
cmp byte [eax + 8], bl
jne 0x4378a2
lea ecx, [esp + 0x54]
push ecx
call fcn.00417860
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x22c], 0x1b
call fcn.00417860
lea eax, [esp + 0x8c]
push eax
mov byte [esp + 0x22c], 0x1c
call fcn.00417860
push 0x518840
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x230], 0x1d
call fcn.0044f770
mov eax, dword [eax]
lea ecx, [esp + 0x54]
mov edx, eax
call fcn.00436070
push 0x518844
lea edx, [esp + 0x28]
push edx
call fcn.0044f770
mov eax, dword [eax]
lea ecx, [esp + 0x38]
mov edx, eax
call fcn.00436070
mov esi, dword [esi + 0x10]
cmp dword [esi], 1
jne 0x437747
mov esi, dword [esi + 8]
lea ecx, [esp + 0x8c]
mov edx, esi
call fcn.00436070
jmp 0x4377a7
cmp dword [esi], 6
jne 0x4377a7
mov eax, dword [esi + 8]
test eax, eax
je 0x4377a7
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], 0
mov byte [esp + 0x74], 0
lea ecx, [esp + 0x70]
push ecx
mov byte [esp + 0x22c], 0x1e
call fcn.0047b340
cmp dword [esp + 0x88], 0x10
mov edx, dword [esp + 0x74]
jae 0x437792
lea edx, [esp + 0x74]
lea ecx, [esp + 0x8c]
call fcn.00436070
lea ecx, [esp + 0x70]
call fcn.004018a0
mov eax, dword [esp + 0x64]
mov edx, eax
sub edx, dword [esp + 0x60]
je 0x437884
mov ecx, dword [esp + 0x48]
sub ecx, dword [esp + 0x44]
je 0x437884
mov edx, dword [esp + 0x9c]
sub edx, dword [esp + 0x98]
je 0x437884
test ecx, ecx
ja 0x4377e6
call fcn.004cb4f7
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x60]
mov esi, dword [esp + 0x44]
jne 0x4377f5
call fcn.004cb4f7
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x154]
call fcn.00459c20
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 0x204], eax
mov eax, dword [esi + 0xc]
mov esi, dword [esp + 0x9c]
sub esi, dword [esp + 0x98]
mov dword [esp + 0x208], ecx
mov dword [esp + 0x20c], edx
mov dword [esp + 0x210], eax
jne 0x437841
call fcn.004cb4f7
mov edx, dword [esp + 0x98]
lea ecx, [esp + 0x154]
push ecx
mov ecx, esi
call fcn.0045a840
mov edi, dword [esp + 0xa0]
add esp, 4
sub edi, dword [esp + 0x98]
je 0x437884
test edi, edi
ja 0x437873
call fcn.004cb4f7
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x14]
push edx
call fcn.0047a901
lea esi, [esp + 0x8c]
call fcn.00417930
lea esi, [esp + 0x38]
call fcn.00417930
lea esi, [esp + 0x54]
call fcn.00417930
lea eax, [esp + 0x24]
mov byte [esp + 0x228], 0x17
call fcn.0044ed30
lea edi, [esp + 0xc4]
call fcn.004332e0
lea esi, [esp + 0xa8]
mov byte [esp + 0x228], 0x13
call fcn.00417930
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
push 0x54cfe0
push 0x10
call fcn.004cba2a
add esp, 8
test eax, eax
je 0x437905
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0x10]
mov dword [eax + 8], edi
mov dword [eax], 6
jmp 0x437907
xor eax, eax
mov ecx, dword [esp + 0x1c]
push eax
call fcn.0040ed50
mov dword [esp + 0x228], 0xffffffff
test ebx, ebx
je 0x43792b
mov eax, dword [ebx]
mov edx, dword [eax + 8]
push 1
mov ecx, ebx
call edx
mov eax, 1
jmp 0x437e82
cmp eax, 0xe
jne 0x437b07
push 0x54cfe0
push 0x10
call fcn.004cba2a
add esp, 8
test eax, eax
je 0x437966
xor ecx, ecx
mov dword [eax], vtable.varstream.0
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov ebx, eax
jmp 0x437968
xor ebx, ebx
mov edi, ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0x228], 0x1f
test ebx, ebx
je 0x436fa9
test esi, esi
je 0x437adc
cmp dword [ebp + 0x10], 1
jb 0x437adc
mov ecx, dword [esi + 4]
cmp dword [ecx], 1
jne 0x437a20
lea edx, [esp + 0x18]
call fcn.004310b0
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x22c], 0x20
call fcn.00417860
lea ecx, [esp + 0x38]
push 0x548780
mov byte [esp + 0x22c], 0x21
push ecx
mov ecx, dword [esp + 0x20]
call fcn.00476848
add esp, 8
test eax, eax
jne 0x437a01
mov esi, dword [esp + 0x48]
sub esi, dword [esp + 0x44]
je 0x437a01
test esi, esi
ja 0x4379ef
call fcn.004cb4f7
mov edx, dword [esp + 0x44]
push edx
mov edi, esi
mov eax, ebx
call fcn.0047a901
mov edi, dword [esp + 0x10]
lea esi, [esp + 0x38]
call fcn.00417930
lea eax, [esp + 0x18]
mov byte [esp + 0x228], 0x1f
call fcn.0042afc0
jmp 0x437adc
cmp dword [ecx], 6
jne 0x437adc
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x437adc
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], 0
mov byte [esp + 0x74], 0
lea eax, [esp + 0x70]
push eax
mov eax, ecx
mov byte [esp + 0x22c], 0x22
call fcn.0047b340
lea ecx, [esp + 0x38]
push ecx
call fcn.00417860
mov byte [esp + 0x228], 0x23
cmp dword [esp + 0x88], 0x10
mov ecx, dword [esp + 0x74]
jae 0x437a87
lea ecx, [esp + 0x74]
lea edx, [esp + 0x38]
push 0x548780
push edx
call fcn.00476848
add esp, 8
test eax, eax
jne 0x437ac2
mov esi, dword [esp + 0x48]
sub esi, dword [esp + 0x44]
je 0x437ac2
test esi, esi
ja 0x437ab0
call fcn.004cb4f7
mov eax, dword [esp + 0x44]
push eax
mov edi, esi
mov eax, ebx
call fcn.0047a901
mov edi, dword [esp + 0x10]
lea esi, [esp + 0x38]
call fcn.00417930
lea ecx, [esp + 0x70]
mov byte [esp + 0x228], 0x1f
call fcn.004018a0
push 0x54cfe0
push 0x10
call fcn.004cba2a
add esp, 8
test eax, eax
je 0x436f9d
xor edi, edi
mov dword [eax + 8], ebx
mov dword [esp + 0x10], edi
mov dword [eax], 6
jmp 0x436f9f
cmp eax, 0xf
jne 0x437c70
push 0x54cfe0
push 0x10
call fcn.004cba2a
add esp, 8
test eax, eax
je 0x437b38
xor ecx, ecx
mov dword [eax], vtable.varstream.0
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov ebx, eax
jmp 0x437b3a
xor ebx, ebx
mov edi, ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0x228], 0x24
test ebx, ebx
je 0x436fa9
test esi, esi
je 0x437adc
cmp dword [ebp + 0x10], 1
jb 0x437adc
mov ecx, dword [esi + 4]
cmp dword [ecx], 1
jne 0x437bf2
lea edx, [esp + 0x18]
call fcn.004310b0
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x22c], 0x25
call fcn.00417860
mov byte [esp + 0x228], 0x26
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
push 0x548780
push ecx
push eax
lea ecx, [esp + 0x44]
call fcn.00476613
add esp, 0xc
test eax, eax
jne 0x437bd3
mov esi, dword [esp + 0x48]
sub esi, dword [esp + 0x44]
je 0x437bd3
test esi, esi
ja 0x437bc1
call fcn.004cb4f7
mov edx, dword [esp + 0x44]
push edx
mov edi, esi
mov eax, ebx
call fcn.0047a901
mov edi, dword [esp + 0x10]
lea esi, [esp + 0x38]
call fcn.00417930
lea eax, [esp + 0x18]
mov byte [esp + 0x228], 0x24
call fcn.0042afc0
jmp 0x437adc
cmp dword [ecx], 6
jne 0x437adc
mov esi, dword [ecx + 8]
test esi, esi
je 0x437adc
lea eax, [esp + 0x38]
push eax
call fcn.00417860
mov byte [esp + 0x228], 0x27
mov eax, dword [esi + 0xc]
mov esi, dword [esi + 4]
push 0x548780
push eax
push esi
lea ecx, [esp + 0x44]
call fcn.00476613
add esp, 0xc
test eax, eax
jne 0x437c5a
mov esi, dword [esp + 0x48]
sub esi, dword [esp + 0x44]
je 0x437c5a
test esi, esi
ja 0x437c48
call fcn.004cb4f7
mov ecx, dword [esp + 0x44]
push ecx
mov edi, esi
mov eax, ebx
call fcn.0047a901
mov edi, dword [esp + 0x10]
lea esi, [esp + 0x38]
mov byte [esp + 0x228], 0x24
call fcn.00417930
jmp 0x437adc
cmp eax, 0x10
jne 0x437e79
mov edi, dword [ebp + 0x10]
xor ebx, ebx
cmp edi, 4
jb 0x437e2e
test esi, esi
je 0x437e2e
lea ecx, [esp + 0x18]
push esi
push ecx
call fcn.0046405d
add esp, 8
mov dword [esp + 0x228], 0x28
mov eax, dword [eax]
lea ecx, [esp + 0x8c]
call fcn.00437ec0
lea ecx, [esp + 0x18]
mov byte [esp + 0x228], 0x2a
call fcn.004087f0
lea edx, [esi + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
call fcn.0046405d
add esp, 8
mov byte [esp + 0x228], 0x2b
mov eax, dword [eax]
lea ecx, [esp + 0xa8]
call fcn.00437ec0
lea ecx, [esp + 0x10]
mov byte [esp + 0x228], 0x2d
call fcn.004087f0
lea ecx, [esi + 0x18]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0046405d
add esp, 8
mov byte [esp + 0x228], 0x2e
mov eax, dword [eax]
lea ecx, [esp + 0x54]
call fcn.00437ec0
lea ecx, [esp + 0x18]
mov byte [esp + 0x228], 0x30
call fcn.004087f0
lea eax, [esi + 0x24]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.0046405d
add esp, 8
mov byte [esp + 0x228], 0x31
mov eax, dword [eax]
lea ecx, [esp + 0x38]
call fcn.00437ec0
lea ecx, [esp + 0x10]
call fcn.004087f0
cmp edi, 5
jb 0x437d70
mov ecx, dword [esi + 0x34]
call fcn.0040c5f0
mov ebx, eax
xor edx, edx
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], 0
mov word [esp + 0x74], dx
mov byte [esp + 0x228], 0x34
cmp edi, 6
jb 0x437dd0
add esi, 0x3c
lea eax, [esp + 0x10]
push esi
push eax
call fcn.0046405d
add esp, 8
lea ecx, [esp + 0x70]
mov byte [esp + 0x228], 0x35
mov eax, dword [eax]
push ecx
call fcn.00437f30
lea ecx, [esp + 0x10]
mov byte [esp + 0x228], 0x34
call fcn.004087f0
push ebx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0xb4]
push ecx
lea edx, [esp + 0x9c]
push edx
lea edi, [esp + 0x84]
call fcn.004361c0
add esp, 0x14
mov esi, edi
movzx ebx, al
call fcn.00437f00
lea esi, [esp + 0x38]
call fcn.00437f00
lea esi, [esp + 0x54]
call fcn.00437f00
lea esi, [esp + 0xa8]
call fcn.00437f00
lea esi, [esp + 0x8c]
call fcn.00437f00
push 0x54cfe0
push 0x10
call fcn.004cba2a
mov ecx, eax
add esp, 8
mov dword [esp + 0x18], ecx
mov dword [esp + 0x228], 0x36
test ecx, ecx
je 0x437e5b
mov eax, ebx
call fcn.0040c000
jmp 0x437e5d
xor eax, eax
mov ecx, dword [esp + 0x1c]
push eax
mov dword [esp + 0x22c], 0xffffffff
call fcn.0040ed50
mov eax, 1
jmp 0x437e82
push edx
push ebx
push esi
push eax
call fcn.0046626b
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.004cb38b
mov esp, ebp
pop ebp
ret 0x10