Function at 0x403af0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52629f
mov eax, dword fs:[0]
push eax
sub esp, 0xa14
mov eax, dword [0x578750]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x918], ecx
push fcn.004d61e0
push fcn.00401b80
push 5
push 4
lea eax, [ebp - 0x22c]
push eax
call fcn.005054f5
mov dword [ebp - 4], 0
push fcn.004d61e0
push fcn.00401b80
push 5
push 4
lea ecx, [ebp - 0x654]
push ecx
call fcn.005054f5
mov byte [ebp - 4], 1
push fcn.004d61e0
push fcn.00401b80
push 5
push 4
lea edx, [ebp - 0x678]
push edx
call fcn.005054f5
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x65c]
call fcn.00401b80
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x88c]
call fcn.00401b80
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x658]
call fcn.00401b80
mov byte [ebp - 4], 5
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x65c]
call fcn.00402b30
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x88c]
call fcn.00402b30
push 0
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x884]
push eax
lea ecx, [ebp - 0x680]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.005053e8
add esp, 0x14
lea eax, [ebp - 0x680]
push eax
lea ecx, [ebp - 0x658]
call fcn.00402b30
lea ecx, [ebp - 0x884]
push ecx
lea ecx, [ebp - 0x658]
call fcn.00406970
push str.__temp__
lea ecx, [ebp - 0x658]
call fcn.00406970
cmp dword [ebp + 0x10], 5
jne 0x4040fd
push 0x53445c
lea edx, [ebp - 0x65c]
push edx
lea eax, [ebp - 0x890]
push eax
call fcn.00406990
add esp, 0xc
mov dword [ebp - 0x91c], eax
mov ecx, dword [ebp - 0x91c]
mov dword [ebp - 0x920], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x920]
push edx
lea ecx, [ebp - 0x22c]
call fcn.00413820
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x890]
call fcn.004d61e0
push 0x534468
lea eax, [ebp - 0x65c]
push eax
lea ecx, [ebp - 0x894]
push ecx
call fcn.00406990
add esp, 0xc
mov dword [ebp - 0x924], eax
mov edx, dword [ebp - 0x924]
mov dword [ebp - 0x928], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x928]
push eax
lea ecx, [ebp - 0x228]
call fcn.00413820
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x894]
call fcn.004d61e0
push 0x534474
lea ecx, [ebp - 0x65c]
push ecx
lea edx, [ebp - 0x898]
push edx
call fcn.00406990
add esp, 0xc
mov dword [ebp - 0x92c], eax
mov eax, dword [ebp - 0x92c]
mov dword [ebp - 0x930], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x930]
push ecx
lea ecx, [ebp - 0x224]
call fcn.00413820
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x898]
call fcn.004d61e0
push 0x534480
lea edx, [ebp - 0x65c]
push edx
lea eax, [ebp - 0x89c]
push eax
call fcn.00406990
add esp, 0xc
mov dword [ebp - 0x934], eax
mov ecx, dword [ebp - 0x934]
mov dword [ebp - 0x938], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x938]
push edx
lea ecx, [ebp - 0x220]
call fcn.00413820
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x89c]
call fcn.004d61e0
push 0x53448c
lea eax, [ebp - 0x65c]
push eax
lea ecx, [ebp - 0x8a0]
push ecx
call fcn.00406990
add esp, 0xc
mov dword [ebp - 0x93c], eax
mov edx, dword [ebp - 0x93c]
mov dword [ebp - 0x940], edx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x940]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00413820
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8a0]
call fcn.004d61e0
push 0x534498
lea ecx, [ebp - 0x88c]
push ecx
lea edx, [ebp - 0x8a4]
push edx
call fcn.00406990
add esp, 0xc
mov dword [ebp - 0x944], eax
mov eax, dword [ebp - 0x944]
mov dword [ebp - 0x948], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x948]
push ecx
lea ecx, [ebp - 0x654]
call fcn.00413820
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8a4]
call fcn.004d61e0
push 0x5344a4
lea edx, [ebp - 0x88c]
push edx
lea eax, [ebp - 0x8a8]
push eax
call fcn.00406990
add esp, 0xc
mov dword [ebp - 0x94c], eax
mov ecx, dword [ebp - 0x94c]
mov dword [ebp - 0x950], ecx
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x950]
push edx
lea ecx, [ebp - 0x650]
call fcn.00413820
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8a8]
call fcn.004d61e0
push 0x5344b0
lea eax, [ebp - 0x88c]
push eax
lea ecx, [ebp - 0x8ac]
push ecx
call fcn.00406990
add esp, 0xc
mov dword [ebp - 0x954], eax
mov edx, dword [ebp - 0x954]
mov dword [ebp - 0x958], edx
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x958]
push eax
lea ecx, [ebp - 0x64c]
call fcn.00413820
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8ac]
call fcn.004d61e0
push 0x5344bc
lea ecx, [ebp - 0x88c]
push ecx
lea edx, [ebp - 0x8b0]
push edx
call fcn.00406990
add esp, 0xc
mov dword [ebp - 0x95c], eax
mov eax, dword [ebp - 0x95c]
mov dword [ebp - 0x960], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x960]
push ecx
lea ecx, [ebp - 0x648]
call fcn.00413820
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8b0]
call fcn.004d61e0
push 0x5344c8
lea edx, [ebp - 0x88c]
push edx
lea eax, [ebp - 0x8b4]
push eax
call fcn.00406990
add esp, 0xc
mov dword [ebp - 0x964], eax
mov ecx, dword [ebp - 0x964]
mov dword [ebp - 0x968], ecx
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x968]
push edx
lea ecx, [ebp - 0x644]
call fcn.00413820
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8b4]
call fcn.004d61e0
push str..CCT
lea eax, [ebp - 0x658]
push eax
lea ecx, [ebp - 0x8b8]
push ecx
call fcn.00406990
add esp, 0xc
mov dword [ebp - 0x96c], eax
mov edx, dword [ebp - 0x96c]
mov dword [ebp - 0x970], edx
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x970]
push eax
lea ecx, [ebp - 0x678]
call fcn.00413820
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8b8]
call fcn.004d61e0
push str..DB1
lea ecx, [ebp - 0x658]
push ecx
lea edx, [ebp - 0x8bc]
push edx
call fcn.00406990
add esp, 0xc
mov dword [ebp - 0x974], eax
mov eax, dword [ebp - 0x974]
mov dword [ebp - 0x978], eax
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x978]
push ecx
lea ecx, [ebp - 0x674]
call fcn.00413820
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8bc]
call fcn.004d61e0
push str..DC1
lea edx, [ebp - 0x658]
push edx
lea eax, [ebp - 0x8c0]
push eax
call fcn.00406990
add esp, 0xc
mov dword [ebp - 0x97c], eax
mov ecx, dword [ebp - 0x97c]
mov dword [ebp - 0x980], ecx
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x980]
push edx
lea ecx, [ebp - 0x670]
call fcn.00413820
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8c0]
call fcn.004d61e0
push 0x5344f8
lea eax, [ebp - 0x658]
push eax
lea ecx, [ebp - 0x8c4]
push ecx
call fcn.00406990
add esp, 0xc
mov dword [ebp - 0x984], eax
mov edx, dword [ebp - 0x984]
mov dword [ebp - 0x988], edx
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x988]
push eax
lea ecx, [ebp - 0x66c]
call fcn.00413820
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8c4]
call fcn.004d61e0
push 0x534504
lea ecx, [ebp - 0x658]
push ecx
lea edx, [ebp - 0x8c8]
push edx
call fcn.00406990
add esp, 0xc
mov dword [ebp - 0x98c], eax
mov eax, dword [ebp - 0x98c]
mov dword [ebp - 0x990], eax
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x990]
push ecx
lea ecx, [ebp - 0x668]
call fcn.00413820
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8c8]
call fcn.004d61e0
jmp 0x4046d0
cmp dword [ebp + 0x10], 4
jne 0x4044e4
push 0x534510
lea edx, [ebp - 0x65c]
push edx
lea eax, [ebp - 0x8cc]
push eax
call fcn.00406990
add esp, 0xc
mov dword [ebp - 0x994], eax
mov ecx, dword [ebp - 0x994]
mov dword [ebp - 0x998], ecx
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x998]
push edx
lea ecx, [ebp - 0x22c]
call fcn.00413820
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8cc]
call fcn.004d61e0
push 0x53451c
lea eax, [ebp - 0x65c]
push eax
lea ecx, [ebp - 0x8d0]
push ecx
call fcn.00406990
add esp, 0xc
mov dword [ebp - 0x99c], eax
mov edx, dword [ebp - 0x99c]
mov dword [ebp - 0x9a0], edx
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x9a0]
push eax
lea ecx, [ebp - 0x228]
call fcn.00413820
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8d0]
call fcn.004d61e0
push 0x534528
lea ecx, [ebp - 0x65c]
push ecx
lea edx, [ebp - 0x8d4]
push edx
call fcn.00406990
add esp, 0xc
mov dword [ebp - 0x9a4], eax
mov eax, dword [ebp - 0x9a4]
mov dword [ebp - 0x9a8], eax
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x9a8]
push ecx
lea ecx, [ebp - 0x224]
call fcn.00413820
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8d4]
call fcn.004d61e0
push 0x534534
lea edx, [ebp - 0x65c]
push edx
lea eax, [ebp - 0x8d8]
push eax
call fcn.00406990
add esp, 0xc
mov dword [ebp - 0x9ac], eax
mov ecx, dword [ebp - 0x9ac]
mov dword [ebp - 0x9b0], ecx
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x9b0]
push edx
lea ecx, [ebp - 0x220]
call fcn.00413820
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8d8]
call fcn.004d61e0
push 0x534540
lea eax, [ebp - 0x88c]
push eax
lea ecx, [ebp - 0x8dc]
push ecx
call fcn.00406990
add esp, 0xc
mov dword [ebp - 0x9b4], eax
mov edx, dword [ebp - 0x9b4]
mov dword [ebp - 0x9b8], edx
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x9b8]
push eax
lea ecx, [ebp - 0x654]
call fcn.00413820
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8dc]
call fcn.004d61e0
push 0x53454c
lea ecx, [ebp - 0x88c]
push ecx
lea edx, [ebp - 0x8e0]
push edx
call fcn.00406990
add esp, 0xc
mov dword [ebp - 0x9bc], eax
mov eax, dword [ebp - 0x9bc]
mov dword [ebp - 0x9c0], eax
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x9c0]
push ecx
lea ecx, [ebp - 0x650]
call fcn.00413820
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8e0]
call fcn.004d61e0
push 0x534558
lea edx, [ebp - 0x88c]
push edx
lea eax, [ebp - 0x8e4]
push eax
call fcn.00406990
add esp, 0xc
mov dword [ebp - 0x9c4], eax
mov ecx, dword [ebp - 0x9c4]
mov dword [ebp - 0x9c8], ecx
mov byte [ebp - 4], 0x1b
mov edx, dword [ebp - 0x9c8]
push edx
lea ecx, [ebp - 0x64c]
call fcn.00413820
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8e4]
call fcn.004d61e0
push 0x534564
lea eax, [ebp - 0x88c]
push eax
lea ecx, [ebp - 0x8e8]
push ecx
call fcn.00406990
add esp, 0xc
mov dword [ebp - 0x9cc], eax
mov edx, dword [ebp - 0x9cc]
mov dword [ebp - 0x9d0], edx
mov byte [ebp - 4], 0x1c
mov eax, dword [ebp - 0x9d0]
push eax
lea ecx, [ebp - 0x648]
call fcn.00413820
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8e8]
call fcn.004d61e0
push 0x534570
lea ecx, [ebp - 0x658]
push ecx
lea edx, [ebp - 0x8ec]
push edx
call fcn.00406990
add esp, 0xc
mov dword [ebp - 0x9d4], eax
mov eax, dword [ebp - 0x9d4]
mov dword [ebp - 0x9d8], eax
mov byte [ebp - 4], 0x1d
mov ecx, dword [ebp - 0x9d8]
push ecx
lea ecx, [ebp - 0x678]
call fcn.00413820
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8ec]
call fcn.004d61e0
push 0x53457c
lea edx, [ebp - 0x658]
push edx
lea eax, [ebp - 0x8f0]
push eax
call fcn.00406990
add esp, 0xc
mov dword [ebp - 0x9dc], eax
mov ecx, dword [ebp - 0x9dc]
mov dword [ebp - 0x9e0], ecx
mov byte [ebp - 4], 0x1e
mov edx, dword [ebp - 0x9e0]
push edx
lea ecx, [ebp - 0x674]
call fcn.00413820
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8f0]
call fcn.004d61e0
push str..NDB
lea eax, [ebp - 0x658]
push eax
lea ecx, [ebp - 0x8f4]
push ecx
call fcn.00406990
add esp, 0xc
mov dword [ebp - 0x9e4], eax
mov edx, dword [ebp - 0x9e4]
mov dword [ebp - 0x9e8], edx
mov byte [ebp - 4], 0x1f
mov eax, dword [ebp - 0x9e8]
push eax
lea ecx, [ebp - 0x670]
call fcn.00413820
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8f4]
call fcn.004d61e0
push str..NIC
lea ecx, [ebp - 0x658]
push ecx
lea edx, [ebp - 0x8f8]
push edx
call fcn.00406990
add esp, 0xc
mov dword [ebp - 0x9ec], eax
mov eax, dword [ebp - 0x9ec]
mov dword [ebp - 0x9f0], eax
mov byte [ebp - 4], 0x20
mov ecx, dword [ebp - 0x9f0]
push ecx
lea ecx, [ebp - 0x66c]
call fcn.00413820
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8f8]
call fcn.004d61e0
jmp 0x4046d0
push 0x5345a0
lea edx, [ebp - 0x65c]
push edx
lea eax, [ebp - 0x8fc]
push eax
call fcn.00406990
add esp, 0xc
mov dword [ebp - 0x9f4], eax
mov ecx, dword [ebp - 0x9f4]
mov dword [ebp - 0x9f8], ecx
mov byte [ebp - 4], 0x21
mov edx, dword [ebp - 0x9f8]
push edx
lea ecx, [ebp - 0x22c]
call fcn.00413820
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8fc]
call fcn.004d61e0
push 0x5345ac
lea eax, [ebp - 0x65c]
push eax
lea ecx, [ebp - 0x900]
push ecx
call fcn.00406990
add esp, 0xc
mov dword [ebp - 0x9fc], eax
mov edx, dword [ebp - 0x9fc]
mov dword [ebp - 0xa00], edx
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0xa00]
push eax
lea ecx, [ebp - 0x228]
call fcn.00413820
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x900]
call fcn.004d61e0
push 0x5345b8
lea ecx, [ebp - 0x88c]
push ecx
lea edx, [ebp - 0x904]
push edx
call fcn.00406990
add esp, 0xc
mov dword [ebp - 0xa04], eax
mov eax, dword [ebp - 0xa04]
mov dword [ebp - 0xa08], eax
mov byte [ebp - 4], 0x23
mov ecx, dword [ebp - 0xa08]
push ecx
lea ecx, [ebp - 0x654]
call fcn.00413820
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x904]
call fcn.004d61e0
push 0x5345c4
lea edx, [ebp - 0x88c]
push edx
lea eax, [ebp - 0x908]
push eax
call fcn.00406990
add esp, 0xc
mov dword [ebp - 0xa0c], eax
mov ecx, dword [ebp - 0xa0c]
mov dword [ebp - 0xa10], ecx
mov byte [ebp - 4], 0x24
mov edx, dword [ebp - 0xa10]
push edx
lea ecx, [ebp - 0x650]
call fcn.00413820
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x908]
call fcn.004d61e0
push 0x5345d0
lea eax, [ebp - 0x658]
push eax
lea ecx, [ebp - 0x90c]
push ecx
call fcn.00406990
add esp, 0xc
mov dword [ebp - 0xa14], eax
mov edx, dword [ebp - 0xa14]
mov dword [ebp - 0xa18], edx
mov byte [ebp - 4], 0x25
mov eax, dword [ebp - 0xa18]
push eax
lea ecx, [ebp - 0x678]
call fcn.00413820
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x90c]
call fcn.004d61e0
push 0x5345dc
lea ecx, [ebp - 0x658]
push ecx
lea edx, [ebp - 0x910]
push edx
call fcn.00406990
add esp, 0xc
mov dword [ebp - 0xa1c], eax
mov eax, dword [ebp - 0xa1c]
mov dword [ebp - 0xa20], eax
mov byte [ebp - 4], 0x26
mov ecx, dword [ebp - 0xa20]
push ecx
lea ecx, [ebp - 0x674]
call fcn.00413820
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x910]
call fcn.004d61e0
mov dword [ebp - 0x230], 0
jmp 0x4046eb
mov edx, dword [ebp - 0x230]
add edx, 1
mov dword [ebp - 0x230], edx
mov eax, dword [ebp - 0x230]
cmp eax, dword [ebp + 0x10]
jge 0x404726
mov ecx, dword [ebp - 0x230]
lea ecx, [ebp + ecx*4 - 0x678]
call fcn.004d6200
push eax
mov edx, dword [ebp - 0x230]
lea ecx, [ebp + edx*4 - 0x22c]
call fcn.004d6200
push eax
call fcn.00507717
add esp, 8
jmp 0x4046dc
mov dword [ebp - 0x638], 0
mov dword [ebp - 0x230], 0
jmp 0x40474b
mov eax, dword [ebp - 0x230]
add eax, 1
mov dword [ebp - 0x230], eax
mov ecx, dword [ebp - 0x230]
cmp ecx, dword [ebp + 0x10]
jge 0x40497c
push 0x5345e8
mov edx, dword [ebp - 0x230]
lea ecx, [ebp + edx*4 - 0x654]
call fcn.004d6200
push eax
call fcn.00507700
add esp, 8
mov dword [ebp - 0x660], eax
cmp dword [ebp - 0x660], 0
jne 0x404798
mov dword [ebp - 0x638], 0xffffffff
jmp 0x40497c
mov eax, dword [ebp - 0x660]
push eax
call fcn.00507608
add esp, 4
push eax
call fcn.00507509
add esp, 4
mov dword [ebp - 0x640], eax
push 0x5345f0
mov ecx, dword [ebp - 0x230]
lea ecx, [ebp + ecx*4 - 0x22c]
call fcn.004d6200
push eax
call fcn.00507700
add esp, 8
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x404803
mov edx, dword [ebp - 0x660]
push edx
call fcn.0050748d
add esp, 4
mov dword [ebp - 0x638], 0xfffffffd
jmp 0x40497c
mov dword [ebp - 0x664], 0x200
mov dword [ebp - 0x63c], 0
jmp 0x40482a
mov eax, dword [ebp - 0x63c]
add eax, 0x200
mov dword [ebp - 0x63c], eax
mov ecx, dword [ebp - 0x63c]
cmp ecx, dword [ebp - 0x640]
jge 0x404909
mov edx, dword [ebp - 0x63c]
add edx, dword [ebp - 0x664]
cmp edx, dword [ebp - 0x640]
jle 0x404862
mov eax, dword [ebp - 0x640]
sub eax, dword [ebp - 0x63c]
mov dword [ebp - 0x664], eax
mov ecx, dword [ebp - 0x660]
push ecx
mov edx, dword [ebp - 0x664]
push edx
push 1
lea eax, [ebp - 0x634]
push eax
call fcn.005073f9
add esp, 0x10
cmp eax, dword [ebp - 0x664]
je 0x4048b3
mov ecx, dword [ebp - 0x660]
push ecx
call fcn.0050748d
add esp, 4
mov edx, dword [ebp - 0x218]
push edx
call fcn.0050748d
add esp, 4
mov dword [ebp - 0x638], 0xfffffffe
jmp 0x404909
mov eax, dword [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x664]
push ecx
push 1
lea edx, [ebp - 0x634]
push edx
call fcn.005070d7
add esp, 0x10
cmp eax, dword [ebp - 0x664]
je 0x404904
mov eax, dword [ebp - 0x660]
push eax
call fcn.0050748d
add esp, 4
mov ecx, dword [ebp - 0x218]
push ecx
call fcn.0050748d
add esp, 4
mov dword [ebp - 0x638], 0xfffffffd
jmp 0x404909
jmp 0x404819
cmp dword [ebp - 0x638], 0
je 0x404914
jmp 0x40497c
mov edx, dword [ebp - 0x660]
push edx
call fcn.0050748d
add esp, 4
mov dword [ebp - 0x888], eax
cmp dword [ebp - 0x888], 0xffffffff
jne 0x40494d
mov eax, dword [ebp - 0x218]
push eax
call fcn.0050748d
add esp, 4
mov dword [ebp - 0x638], 0xfffffffe
jmp 0x40497c
mov ecx, dword [ebp - 0x218]
push ecx
call fcn.0050748d
add esp, 4
mov dword [ebp - 0x888], eax
cmp dword [ebp - 0x888], 0xffffffff
jne 0x404977
mov dword [ebp - 0x638], 0xfffffffd
jmp 0x40497c
jmp 0x40473c
cmp dword [ebp - 0x638], 0
jne 0x4049cd
mov dword [ebp - 0x230], 0
jmp 0x4049a0
mov edx, dword [ebp - 0x230]
add edx, 1
mov dword [ebp - 0x230], edx
mov eax, dword [ebp - 0x230]
cmp eax, dword [ebp + 0x10]
jge 0x4049c8
mov ecx, dword [ebp - 0x230]
lea ecx, [ebp + ecx*4 - 0x678]
call fcn.004d6200
push eax
call fcn.00506f45
add esp, 4
jmp 0x404991
jmp 0x404a66
mov dword [ebp - 0x230], 0
jmp 0x4049e8
mov edx, dword [ebp - 0x230]
add edx, 1
mov dword [ebp - 0x230], edx
mov eax, dword [ebp - 0x230]
cmp eax, dword [ebp + 0x10]
jge 0x404a10
mov ecx, dword [ebp - 0x230]
lea ecx, [ebp + ecx*4 - 0x22c]
call fcn.004d6200
push eax
call fcn.00506f45
add esp, 4
jmp 0x4049d9
mov dword [ebp - 0x230], 0
jmp 0x404a2b
mov edx, dword [ebp - 0x230]
add edx, 1
mov dword [ebp - 0x230], edx
mov eax, dword [ebp - 0x230]
cmp eax, dword [ebp + 0x10]
jge 0x404a66
mov ecx, dword [ebp - 0x230]
lea ecx, [ebp + ecx*4 - 0x22c]
call fcn.004d6200
push eax
mov edx, dword [ebp - 0x230]
lea ecx, [ebp + edx*4 - 0x678]
call fcn.004d6200
push eax
call fcn.00507717
add esp, 8
jmp 0x404a1c
mov eax, dword [ebp - 0x638]
mov dword [ebp - 0x914], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x658]
call fcn.004d61e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x88c]
call fcn.004d61e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x65c]
call fcn.004d61e0
mov byte [ebp - 4], 1
push fcn.004d61e0
push 5
push 4
lea ecx, [ebp - 0x678]
push ecx
call fcn.00505492
mov byte [ebp - 4], 0
push fcn.004d61e0
push 5
push 4
lea edx, [ebp - 0x654]
push edx
call fcn.00505492
mov dword [ebp - 4], 0xffffffff
push fcn.004d61e0
push 5
push 4
lea eax, [ebp - 0x22c]
push eax
call fcn.00505492
mov eax, dword [ebp - 0x914]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00504a55
mov esp, ebp
pop ebp
ret 0xc