Function at 0x42c530
Capabilities:
Check http status code
Get file size
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4cf0c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1fc], ecx
mov dword [ebp - 0x170], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x125], 0
mov byte [ebp - 0x39], 0
mov dword [ebp - 0x16c], 0
push 1
mov ecx, 0x4d2a70
call fcn.0041fcb0
push 0
push 0
push 4
push 0
push 7
push 0xc0000000
push 0x4a03fc
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x42c5c4
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x1f4], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1e
push 0
lea edx, [ebp - 0x124]
push edx
call fcn.00474130
add esp, 0xc
push 0x14
push 0
lea eax, [ebp - 0x104]
push eax
call fcn.00474130
add esp, 0xc
push 0x40
push 0
lea ecx, [ebp - 0xd8]
push ecx
call fcn.00474130
add esp, 0xc
push 0
call fcn.0042c510
add esp, 4
push eax
call fcn.00476bb4
add esp, 4
call fcn.00476bc6
imul eax, eax, 0x64
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
call fcn.00476bc6
imul eax, eax, 0x64
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
call fcn.00476bc6
imul eax, eax, 0x64
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
call fcn.00476bc6
imul eax, eax, 0x64
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
call fcn.00476bc6
imul eax, eax, 0x64
mov edx, dword [ebp + 0x1c]
mov dword [edx], eax
call fcn.00476bc6
imul eax, eax, 0x64
mov ecx, dword [ebp + 0x20]
mov dword [ecx], eax
mov dword [ebp - 0x170], 0
call fcn.00476bc6
imul eax, eax, 0xc8
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
call fcn.00476bc6
imul eax, eax, 0xc8
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
call fcn.00476bc6
imul eax, eax, 0xc8
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
call fcn.00476bc6
imul eax, eax, 0xc8
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
call fcn.00476bc6
imul eax, eax, 0xc8
mov edx, dword [ebp + 0x1c]
mov dword [edx], eax
call fcn.00476bc6
imul eax, eax, 0x12c
mov ecx, dword [ebp + 0x20]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx]
imul eax, eax, 9
mov ecx, dword [ebp + 8]
imul eax, dword [ecx]
mov edx, dword [ebp + 8]
imul eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
imul edx, edx, 0x47
mov ecx, dword [ebp + 8]
imul edx, dword [ecx]
add eax, edx
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
lea edx, [eax + ecx*4 + 6]
mov dword [ebp - 0x170], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
imul ecx, ecx, 0x1d
mov edx, dword [ebp + 8]
imul ecx, dword [edx]
mov eax, dword [ebp + 8]
imul ecx, dword [eax]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
imul eax, eax, 0x46
mov edx, dword [ebp + 8]
imul eax, dword [edx]
add ecx, eax
mov eax, dword [ebp + 8]
mov edx, dword [eax]
imul edx, edx, 5
lea eax, [ecx + edx + 6]
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
imul edx, edx, 0x1d
mov eax, dword [ebp + 8]
imul edx, dword [eax]
mov ecx, dword [ebp + 8]
imul edx, dword [ecx]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
imul ecx, ecx, 0x11
mov eax, dword [ebp + 8]
imul ecx, dword [eax]
add edx, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
lea ecx, [edx + eax*2 + 6]
mov dword [ebp - 0x170], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
imul eax, eax, 0x13
mov ecx, dword [ebp + 8]
imul eax, dword [ecx]
mov edx, dword [ebp + 8]
imul eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
imul edx, edx, 0x46
mov ecx, dword [ebp + 8]
imul edx, dword [ecx]
add eax, edx
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
lea edx, [eax + ecx*2 + 6]
mov dword [ebp - 0x170], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x170]
mov dword [eax], ecx
mov dword [ebp - 0x170], 0x902
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
lea eax, [edx + edx + 0x56a0]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
call fcn.00476bc6
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 6
div ecx
mov dword [ebp - 0x200], edx
cmp dword [ebp - 0x200], 6
ja case.default.0x42c7f5
mov edx, dword [ebp - 0x200]
jmp dword [edx*4 + 0x42d224]
mov eax, dword [ebp + 8]
mov dword [eax], 1
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x1fc]
mov dword [ecx], edx
jmp 0x42c889
mov eax, dword [ebp + 8]
mov dword [eax], 2
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x1fc]
mov dword [ecx], edx
jmp 0x42c889
mov eax, dword [ebp + 8]
mov dword [eax], 3
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x1fc]
mov dword [ecx], edx
jmp 0x42c889
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x1fc]
mov dword [eax], ecx
mov edx, dword [ebp + 8]
mov dword [edx], 4
jmp 0x42c889
mov eax, dword [ebp + 8]
mov dword [eax], 5
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x1fc]
mov dword [ecx], edx
jmp 0x42c889
mov eax, dword [ebp + 8]
mov dword [eax], 6
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp - 0x1fc]
mov dword [ecx], edx
jmp 0x42c889
mov eax, dword [ebp + 8]
mov dword [eax], 0x64
call fcn.00476bc6
mov dword [ebp - 8], eax
call fcn.00476bc6
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x64
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
imul eax, eax, 9
imul eax, dword [ebp - 0xc]
imul eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x47
imul ecx, dword [ebp - 0xc]
add eax, ecx
mov edx, dword [ebp - 0xc]
lea eax, [eax + edx*4 + 6]
mov dword [ebp - 0x154], eax
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x1d
imul ecx, dword [ebp - 0xc]
imul ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
imul edx, edx, 0x46
imul edx, dword [ebp - 0xc]
add ecx, edx
mov eax, dword [ebp - 0xc]
imul eax, eax, 5
lea ecx, [ecx + eax + 6]
mov dword [ebp - 0x154], ecx
mov edx, dword [ebp - 0xc]
imul edx, edx, 0x1d
imul edx, dword [ebp - 0xc]
imul edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x11
imul eax, dword [ebp - 0xc]
add edx, eax
mov ecx, dword [ebp - 0xc]
lea edx, [edx + ecx*2 + 6]
mov dword [ebp - 0x154], edx
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x13
imul eax, dword [ebp - 0xc]
imul eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x46
imul ecx, dword [ebp - 0xc]
add eax, ecx
mov edx, dword [ebp - 0xc]
lea eax, [eax + edx*2 + 6]
mov dword [ebp - 0x154], eax
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x154], 0x902
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x154], edx
mov eax, dword [ebp - 0xc]
lea ecx, [eax + eax + 0x56a0]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
push edx
lea eax, [ebp - 0x124]
push eax
mov ecx, dword [ebp - 0x1fc]
call fcn.0042b5e0
mov dword [ebp - 8], eax
push 0x50
push 0
lea ecx, [ebp - 0x1f0]
push ecx
call fcn.00474130
add esp, 0xc
push 0x4a0418
push 0x4a0434
call fcn.00474a90
add esp, 4
add eax, 2
push eax
lea edx, [ebp - 0x1f0]
push edx
call fcn.00474a28
add esp, 0xc
mov eax, dword [ebp - 0x154]
sub eax, dword [ebp - 8]
mov dword [ebp - 0x204], eax
je 0x42c9e9
cmp dword [ebp - 0x204], 1
je 0x42ca16
cmp dword [ebp - 0x204], 2
je 0x42ca5a
jmp 0x42ca9b
lea ecx, [ebp - 0x1f0]
push ecx
push 0x80
lea edx, [ebp - 0xd8]
push edx
push 0x4a0450
push 0x4a046c
push 0x4a0478
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
jmp 0x42cada
lea eax, [ebp - 0x1f0]
push eax
call fcn.00474a90
add esp, 4
mov byte [ebp + eax - 0x1f0], 0x31
lea ecx, [ebp - 0x1f0]
push ecx
push 0x80
lea edx, [ebp - 0xd8]
push edx
push 0x4a0488
push 0x4a04a4
push 0x4a04b0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
jmp 0x42cada
lea eax, [ebp - 0x1f0]
push eax
call fcn.00474a90
add esp, 4
mov byte [ebp + eax - 0x1f0], 0x32
lea ecx, [ebp - 0x1f0]
push ecx
push 0x80
lea edx, [ebp - 0xd8]
push edx
push 0x4a04c0
push 0x4a04dc
push 0x4a04e8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
jmp 0x42cada
lea eax, [ebp - 0x1f0]
push eax
call fcn.00474a90
add esp, 4
mov byte [ebp + eax - 0x1f0], 0x33
lea ecx, [ebp - 0x1f0]
push ecx
push 0x80
lea edx, [ebp - 0xd8]
push edx
push 0x4a04f8
push 0x4a0514
push 0x4a0520
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str.888888_888888_888888_888888_888888_888888_888888_888888
lea eax, [ebp - 0xd8]
push eax
call fcn.004749a0
add esp, 8
test eax, eax
jne 0x42cb00
mov byte [ebp - 0x39], 1
jmp 0x42d0d3
push 0x4a0568
lea ecx, [ebp - 0xd8]
push ecx
call fcn.004749a0
add esp, 8
test eax, eax
jne 0x42cb22
jmp 0x42d0d3
lea edx, [ebp - 0xd8]
push edx
call fcn.00474a90
add esp, 4
cmp eax, 0x1c
jae 0x42cb40
jmp 0x42d0d3
mov ecx, 0x4d2a70
call fcn.0041fb20
movzx eax, al
test eax, eax
je 0x42cb5b
jmp 0x42d1ab
push 0x14
push 0
lea ecx, [ebp - 0x24]
push ecx
call fcn.00474130
add esp, 0xc
push 0x14
push 0
lea edx, [ebp - 0xf0]
push edx
call fcn.00474130
add esp, 0xc
push 0x14
push 0
lea eax, [ebp - 0x168]
push eax
call fcn.00474130
add esp, 0xc
push 0
push 1
push 1
push 1
push 1
push 1
push 5
mov ecx, 0x4d2a70
call fcn.0041fe30
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xc283a031
je 0x42cbc7
cmp dword [ebp - 0x40], 0x82c49e22
je 0x42cbc7
cmp dword [ebp - 0x40], 0xa3a27273
jne 0x42cbd1
mov dword [ebp - 0x16c], 1
cmp dword [ebp - 0x40], 0xc252a221
je 0x42cbec
cmp dword [ebp - 0x40], 0x4243a024
je 0x42cbec
cmp dword [ebp - 0x40], 0x8292eeb5
jne 0x42cbf6
mov dword [ebp - 0x16c], 1
cmp dword [ebp - 0x40], 0xc252a221
je 0x42cc11
cmp dword [ebp - 0x40], 0x5b051b16
je 0x42cc11
cmp dword [ebp - 0x40], 0x8b061708
jne 0x42cc1b
mov dword [ebp - 0x16c], 1
cmp dword [ebp - 0x40], 0xc032a234
je 0x42cc36
cmp dword [ebp - 0x40], 0x7b07971f
je 0x42cc36
cmp dword [ebp - 0x40], 0x8b05171d
jne 0x42cc40
mov dword [ebp - 0x16c], 1
cmp dword [ebp - 0x40], 0x83069730
je 0x42cc5b
cmp dword [ebp - 0x40], 0x7b991c9d
je 0x42cc5b
cmp dword [ebp - 0x40], 0x83069730
jne 0x42cc65
mov dword [ebp - 0x16c], 1
push 0xa
push 0x10
lea ecx, [ebp - 0xf0]
push ecx
mov edx, dword [ebp - 0x40]
xor eax, eax
push eax
push edx
call fcn.0047734b
add esp, 0x14
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0x1fc]
add ecx, 0x9c
push ecx
mov edx, dword [ebp - 0x1fc]
add edx, 0x98
push edx
mov eax, dword [ebp - 0x1fc]
add eax, 0x94
push eax
mov ecx, dword [ebp - 0x1fc]
add ecx, 0x90
push ecx
lea edx, [ebp - 0x168]
push edx
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0xd8]
push edx
mov ecx, 0x4d3be8
call fcn.00423120
test eax, eax
jle 0x42ccea
jmp 0x42d0d3
push 0x40
push 0
lea eax, [ebp - 0xd8]
push eax
call fcn.00474130
add esp, 0xc
push 0x14
push 0
lea ecx, [ebp - 0x150]
push ecx
call fcn.00474130
add esp, 0xc
push 0x4a0584
push 0x80
lea edx, [ebp - 0xd8]
push edx
push 0x4a05a0
push 0x4a05bc
push 0x4a05c4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str.444444_111111_222222_333333
lea eax, [ebp - 0xd8]
push eax
call fcn.004749a0
add esp, 8
test eax, eax
jne 0x42cd58
jmp 0x42d0d3
lea ecx, [ebp - 0xd8]
push ecx
call fcn.00474a90
add esp, 4
cmp eax, 0x1c
jae 0x42cd76
jmp 0x42d0d3
push 0x14
push 0
lea edx, [ebp - 0x54]
push edx
call fcn.00474130
add esp, 0xc
push 0x14
push 0
lea eax, [ebp - 0x38]
push eax
call fcn.00474130
add esp, 0xc
push 0x14
push 0
lea ecx, [ebp - 0x13c]
push ecx
call fcn.00474130
add esp, 0xc
lea edx, [ebp - 0x13c]
push edx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0xd8]
push edx
mov ecx, 0x4d3be8
call fcn.00422880
test eax, eax
jle 0x42cdd7
jmp 0x42d0d3
lea eax, [ebp - 0x38]
push eax
call fcn.00474ce7
add esp, 4
mov dword [ebp - 0x40], eax
mov ecx, 0x4d2a70
call fcn.0041fb20
movzx ecx, al
test ecx, ecx
jne 0x42ce2b
push 0
push 1
push 1
push 1
push 1
push 1
push 5
mov ecx, 0x4d2a70
call fcn.0041fe30
cmp dword [ebp - 0x40], eax
je 0x42ce2b
push 0x4a05f0
call fcn.004041d0
add esp, 4
jmp 0x42d0d3
lea edx, [ebp - 0x24]
push edx
call fcn.00474a90
add esp, 4
cmp eax, 2
jae 0x42ce46
jmp 0x42d0d3
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x54]
push ecx
call fcn.004049f0
add esp, 8
test eax, eax
jne 0x42ce64
jmp 0x42d0d3
push 0x4a0630
push 0x12
lea edx, [ebp - 0x24]
push edx
push 0x4a064c
push 0x4a0658
push 0x4a0664
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.004749a0
add esp, 8
test eax, eax
je 0x42cea2
jmp 0x42d0d3
lea edx, [ebp - 0x168]
push edx
call fcn.00474ce7
add esp, 4
push edx
push eax
mov ecx, 0x4d2a70
call fcn.0041fc20
mov ecx, 0x4d2a70
call fcn.0041fc70
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x208], edx
cmp dword [ebp - 0x208], 0
jl 0x42cefc
jg 0x42ceea
cmp dword [ebp - 0x20c], 0x72bb613e
jbe 0x42cefc
mov eax, dword [ebp - 0x1fc]
mov dword [eax + 0x88], 1
jmp 0x42cf0c
mov ecx, dword [ebp - 0x1fc]
mov dword [ecx + 0x88], 0
mov edx, dword [ebp - 0x1fc]
movzx eax, byte [edx + 4]
test eax, eax
jne 0x42cf40
push 0
push 1
push 1
push 1
push 1
push 1
push 3
mov ecx, 0x4d2a70
call fcn.0041fe30
test eax, eax
jne 0x42cf40
jmp 0x42d1ab
push 0
push 1
push 1
push 1
push 1
push 1
push 0xa
mov ecx, 0x4d2a70
call fcn.0041fe30
push eax
mov ecx, 0x4d2a70
call fcn.0041fcb0
mov ecx, dword [ebp - 0x1fc]
mov edx, dword [ecx + 0x90]
mov dword [ebp - 0xdc], edx
mov ecx, 0x4d2a70
call fcn.0041fb50
test eax, eax
jle 0x42cfbd
mov eax, dword [ebp - 0xdc]
xor edx, edx
mov ecx, 3
div ecx
mov dword [ebp - 0x1f8], eax
mov ecx, 0x4d2a70
call fcn.0041fce0
cmp eax, dword [ebp - 0x1f8]
jb 0x42cfbb
mov edx, dword [ebp - 0xdc]
push edx
mov ecx, 0x4d2a70
call fcn.0041fcb0
jmp 0x42d016
mov ecx, 0x4d2a70
call fcn.0041fce0
cmp eax, dword [ebp - 0xdc]
jb 0x42cfe2
mov eax, dword [ebp - 0xdc]
push eax
mov ecx, 0x4d2a70
call fcn.0041fcb0
jmp 0x42d016
mov ecx, 0x4d2a70
call fcn.0041fb20
movzx ecx, al
test ecx, ecx
jne 0x42d016
push 1
mov ecx, 0x4d2a70
call fcn.0041fcb0
push 0x4a0674
call fcn.004041d0
add esp, 4
jmp 0x42d0d3
mov edx, dword [ebp - 0x1fc]
cmp dword [edx + 0x94], 0xc8
jle 0x42d06d
push 0x4a0688
call fcn.004041d0
add esp, 4
push 0x4a06b8
call fcn.004041d0
add esp, 4
push 0x4a06e8
call fcn.004041d0
add esp, 4
push 0x4a0718
call fcn.004041d0
add esp, 4
push str.______________________________________________
call fcn.004041d0
add esp, 4
jmp 0x42d0d3
cmp dword [ebp - 0x16c], 0
je 0x42d082
push 0x78
mov ecx, 0x4d2a70
call fcn.0041fcb0
push 0x1e
push 0
lea eax, [ebp - 0x124]
push eax
call fcn.00474130
add esp, 0xc
push 0x4a0774
push 0x1c
lea ecx, [ebp - 0x124]
push ecx
push str.13502224466
push str.TELPHONE
push 0x4a07a8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x124]
push edx
lea eax, [ebp - 0x54]
push eax
call fcn.004749a0
add esp, 8
test eax, eax
je 0x42d173
movzx ecx, byte [ebp - 0x39]
cmp ecx, 1
je 0x42d156
push 0x40
push 0
lea edx, [ebp - 0xd8]
push edx
call fcn.00474130
add esp, 0xc
lea eax, [ebp - 0xd8]
push eax
mov ecx, dword [ebp - 0x1fc]
call fcn.0042d240
push 0x4a07b8
lea ecx, [ebp - 0xd8]
push ecx
push str.RegNo
push 0x4a07dc
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push str.d:cacheTHMediaServer.ini
push 0x49fd2b
push str.licenseNo
push str.REGANDLICENSE
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x4a0824
call fcn.004041d0
add esp, 4
push 1
mov ecx, 0x4d2a70
call fcn.0041fcb0
jmp 0x42d1ab
push 0x4a0838
call fcn.004041d0
add esp, 4
push 0x3c
mov ecx, 0x4d2a70
call fcn.0041fcb0
jmp 0x42d1ab
mov edx, dword [ebp - 0x1fc]
mov dword [edx], 0
mov byte [ebp - 0x125], 1
mov eax, dword [ebp - 0x1fc]
cmp dword [eax], 0
je 0x42d19d
mov ecx, dword [ebp - 0x1fc]
mov byte [ecx + 4], 0
jmp 0x42d1a7
mov edx, dword [ebp - 0x1fc]
mov byte [edx + 4], 1
jmp 0x42d1fe
mov eax, dword [ebp - 0x1fc]
mov dword [eax], 0
mov ecx, dword [ebp - 0x1fc]
mov byte [ecx + 4], 1
mov byte [ebp - 0x125], 1
movzx edx, byte [ebp - 0x39]
cmp edx, 1
je 0x42d1f1
mov ecx, 0x4d2a70
call fcn.0041fb20
movzx eax, al
test eax, eax
jne 0x42d1ef
push 0x4a0858
call fcn.004041d0
add esp, 4
jmp 0x42d1fe
push 0x4a0880
call fcn.004041d0
add esp, 4
movzx ecx, byte [ebp - 0x39]
mov edx, dword [ebp - 0x1fc]
mov dword [edx + 0x8c], ecx
mov eax, dword [ebp - 0x170]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00474590
mov esp, ebp
pop ebp
ret 0x1c