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

Disassembly:
push 0xffffffffffffffff
push 0x5d136d
mov eax, dword fs:[0]
push eax
sub esp, 0x308
mov eax, dword [0x65d4e4]
xor eax, esp
mov dword [esp + 0x304], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x65d4e4]
xor eax, esp
push eax
lea eax, [esp + 0x31c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x358]
mov eax, dword [esp + 0x35c]
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], eax
push 1
xor ebx, ebx
push 2
lea ecx, [esp + 0x1d8]
mov dword [esp + 0x32c], ebx
call fcn.0040b040
push 1
push 2
lea ecx, [esp + 0x158]
mov byte [esp + 0x32c], 1
call fcn.0040b040
push 1
push 2
lea ecx, [esp + 0x258]
mov byte [esp + 0x32c], 2
call fcn.0040b040
lea ecx, [esp + 0x32c]
mov byte [esp + 0x324], 3
call fcn.005097c0
test al, al
lea edi, [ebx + 0x10]
jne 0x50faea
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x330]
call fcn.0050aa90
push eax
lea edx, [esp + 0x1d4]
push edx
mov byte [esp + 0x32c], 4
call fcn.00409240
add esp, 8
cmp dword [esp + 0x30], edi
mov byte [esp + 0x324], 3
jb 0x50faea
mov eax, dword [esp + 0x1c]
push eax
call fcn.00595eb8
add esp, 4
lea ecx, [esp + 0x50]
call fcn.00409a00
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ebx
lea ecx, [esp + 0xac]
mov byte [esp + 0x324], 5
call fcn.00409a00
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ebx
lea ecx, [esp + 0x68]
mov byte [esp + 0x324], 6
call fcn.00409a00
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ebx
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0xb0]
push edx
lea eax, [esp + 0x58]
push eax
push esi
mov byte [esp + 0x334], 7
call fcn.0050ecb0
add esp, 0x10
lea ecx, [esp + 0x5c]
call fcn.00409a00
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ebx
lea ecx, [esp + 0x5c]
push ecx
push esi
mov byte [esp + 0x32c], 8
call fcn.0050ef50
mov edx, dword [esp + 0x5c]
mov esi, dword [edx]
add esp, 8
cmp esi, dword [esp + 0x54]
je 0x50fc62
cmp dword [esi + 0x20], edi
jb 0x50fb9a
mov eax, dword [esi + 0xc]
jmp 0x50fb9d
lea eax, [esi + 0xc]
push ebx
push ebx
push eax
lea ecx, [esp + 0x2f8]
call fcn.0050b790
lea eax, [esp + 0x2ec]
push eax
lea ecx, [esp + 0x330]
mov byte [esp + 0x328], 9
call fcn.005094d0
test al, al
jne 0x50fc3c
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x1d4]
call fcn.004094f0
cmp dword [eax + 0x14], ebx
setne byte [esp + 0x17]
cmp dword [esp + 0x30], edi
jb 0x50fbf8
mov edx, dword [esp + 0x1c]
push edx
call fcn.00595eb8
add esp, 4
cmp byte [esp + 0x17], bl
je 0x50fc13
lea eax, [esp + 0x1d0]
push 0x62b8e8
push eax
call fcn.00409b60
add esp, 8
cmp esi, dword [esp + 0x54]
jne 0x50fc1e
call fcn.005b1933
cmp dword [esi + 0x20], edi
jb 0x50fc28
mov eax, dword [esi + 0xc]
jmp 0x50fc2b
lea eax, [esi + 0xc]
push eax
lea ecx, [esp + 0x1d4]
push ecx
call fcn.00409b60
add esp, 8
lea ecx, [esp + 0x2ec]
mov byte [esp + 0x324], 8
call fcn.00509440
cmp esi, dword [esp + 0x54]
jne 0x50fc5b
call fcn.005b1933
mov esi, dword [esi]
jmp 0x50fb86
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
mov dword [esp + 0x44], eax
mov ecx, eax
cmp ecx, dword [esp + 0x6c]
mov ebp, 0xf
je 0x50fecd
cmp dword [ecx + 0x20], edi
jb 0x50fc87
mov ecx, dword [ecx + 0xc]
jmp 0x50fc8a
add ecx, 0xc
mov eax, ecx
mov dword [esp + 0x2e8], ebp
mov dword [esp + 0x2e4], ebx
mov byte [esp + 0x2d4], bl
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x50fca4
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x2d8]
call fcn.00409790
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x154]
mov byte [esp + 0x328], 0xa
call fcn.004094f0
mov ecx, dword [esp + 0x2d4]
mov edi, 0x10
cmp dword [esp + 0x2e8], edi
jae 0x50fcf2
lea ecx, [esp + 0x2d4]
cmp dword [eax + 0x18], edi
jb 0x50fcfc
mov eax, dword [eax + 4]
jmp 0x50fcff
add eax, 4
push ecx
push eax
call fcn.005b4730
add esp, 8
cmp dword [esp + 0x30], edi
mov esi, eax
jb 0x50fd1e
mov edx, dword [esp + 0x1c]
push edx
call fcn.00595eb8
add esp, 4
cmp esi, ebx
je 0x50fe1f
push 1
push 2
lea ecx, [esp + 0xd0]
call fcn.0040b040
cmp dword [esp + 0x2e8], edi
mov eax, dword [esp + 0x2d4]
mov byte [esp + 0x324], 0xb
jae 0x50fd55
lea eax, [esp + 0x2d4]
push eax
lea eax, [esp + 0xcc]
push 0x5f54a4
push eax
call fcn.00409b60
add esp, 8
push eax
call fcn.00409b60
add esp, 8
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0xcc]
call fcn.004094f0
cmp dword [eax + 0x18], edi
mov byte [esp + 0x324], 0xc
jb 0x50fd97
mov eax, dword [eax + 4]
jmp 0x50fd9a
add eax, 4
push eax
push str.BaseLib::BuildIPAddrInfo
push 0x5f8
push str..commonipconfig.cpp
push 0xf0000000
call fcn.00409860
mov ecx, eax
call fcn.004fb930
cmp dword [esp + 0x30], edi
jb 0x50fdce
mov edx, dword [esp + 0x1c]
push edx
call fcn.00595eb8
add esp, 4
lea ecx, [esp + 0x114]
mov byte [esp + 0x324], 0xa
call fcn.00409e00
lea eax, [esp + 0x114]
push eax
mov dword [esp + method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.005cdcde
add esp, 4
cmp dword [esp + 0x2e8], edi
mov byte [esp + 0x324], 8
jb 0x50feaf
mov ecx, dword [esp + 0x2d4]
push ecx
jmp 0x50fea7
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x154]
call fcn.004094f0
cmp dword [eax + 0x14], ebx
setne byte [esp + 0x17]
cmp dword [esp + 0x30], edi
jb 0x50fe4b
mov eax, dword [esp + 0x1c]
push eax
call fcn.00595eb8
add esp, 4
cmp byte [esp + 0x17], bl
je 0x50fe66
lea ecx, [esp + 0x150]
push 0x62b8e8
push ecx
call fcn.00409b60
add esp, 8
cmp dword [esp + 0x2e8], edi
mov eax, dword [esp + 0x2d4]
jae 0x50fe7d
lea eax, [esp + 0x2d4]
push eax
lea edx, [esp + 0x154]
push edx
call fcn.00409b60
add esp, 8
cmp dword [esp + 0x2e8], edi
mov byte [esp + 0x324], 8
jb 0x50feaf
mov eax, dword [esp + 0x2d4]
push eax
call fcn.00595eb8
add esp, 4
mov ecx, dword [esp + 0x44]
cmp ecx, dword [esp + 0x6c]
jne 0x50febe
call fcn.005b1933
mov edx, dword [esp + 0x44]
mov ecx, dword [edx]
mov dword [esp + 0x44], ecx
jmp 0x50fc6e
mov edi, dword [esp + 0x48]
mov eax, dword [edi + 8]
mov esi, dword [eax]
add edi, 4
mov dword [esp + 0x48], edi
cmp edi, edi
mov eax, dword [edi + 4]
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc4], eax
je 0x50fef7
call fcn.005b1933
cmp esi, dword [esp + 0xc4]
je 0x510299
lea ecx, [esp + 0x34]
call fcn.0045cb40
mov dword [esp + 0x38], eax
mov byte [eax + 0x29], 1
mov eax, dword [esp + 0x38]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x38]
mov dword [eax], eax
mov eax, dword [esp + 0x38]
mov dword [eax + 8], eax
mov dword [esp + 0x3c], ebx
cmp esi, dword [edi + 4]
mov byte [esp + 0x324], 0xd
jne 0x50ff3f
call fcn.005b1933
mov edx, dword [esi + 8]
lea ecx, [esp + 0x34]
push ecx
add edx, 0x3c
push edx
call fcn.0050f610
add esp, 8
cmp eax, ebx
je 0x51023c
mov eax, dword [esp + 0x38]
mov esi, dword [eax]
lea edi, [esp + 0x34]
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], edi
lea ecx, [ecx]
cmp edi, ebx
mov ebp, dword [esp + 0x38]
je 0x50ff80
lea ecx, [esp + 0x34]
cmp edi, ecx
je 0x50ff85
call fcn.005b1933
cmp esi, ebp
je 0x51023c
cmp edi, ebx
jne 0x50ff96
call fcn.005b1933
cmp esi, dword [edi + 4]
jne 0x50ffa0
call fcn.005b1933
push 0xffffffffffffffff
lea eax, [esi + 0xc]
push ebx
mov esi, 0xf
push eax
lea ecx, [esp + 0x2dc]
mov dword [esp + 0x2f4], esi
mov dword [esp + 0x2f0], ebx
mov byte [esp + 0x2e0], bl
call fcn.00407e40
push ebx
push 0x62b600
lea ecx, [esp + 0x20]
mov byte [esp + 0x32c], 0xe
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00409790
push 1
push 0x5f5484
lea ecx, [esp + 0x2f4]
mov byte [esp + 0x32c], 0xf
mov dword [esp + 0x30c], esi
mov dword [esp + 0x308], ebx
mov byte [esp + 0x2f8], bl
call fcn.00409790
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x2f0]
push eax
lea ecx, [esp + 0x2d8]
push ecx
mov byte [esp + 0x330], 0x10
call fcn.004fc450
mov edi, 0x10
add esp, 0xc
cmp dword [esp + 0x304], edi
jb 0x510063
mov edx, dword [esp + 0x2f0]
push edx
call fcn.00595eb8
add esp, 4
cmp dword [esp + 0x30], edi
mov dword [esp + 0x304], esi
mov dword [esp + 0x300], ebx
mov byte [esp + 0x2f0], bl
mov byte [esp + 0x324], 0xe
jb 0x510093
mov eax, dword [esp + 0x1c]
push eax
call fcn.00595eb8
add esp, 4
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x154]
call fcn.004094f0
cmp dword [esp + 0x2e8], edi
mov ecx, dword [esp + 0x2d4]
jae 0x5100bb
lea ecx, [esp + 0x2d4]
cmp dword [eax + 0x18], edi
jb 0x5100c5
mov eax, dword [eax + 4]
jmp 0x5100c8
add eax, 4
push ecx
push eax
call fcn.005b4730
add esp, 8
cmp dword [esp + 0x30], edi
mov esi, eax
jb 0x5100e7
mov edx, dword [esp + 0x1c]
push edx
call fcn.00595eb8
add esp, 4
cmp esi, ebx
je 0x5101c8
push 1
push 2
lea ecx, [esp + 0xd0]
call fcn.0040b040
cmp dword [esp + 0x2e8], edi
mov eax, dword [esp + 0x2d4]
mov byte [esp + 0x324], 0x11
jae 0x51011e
lea eax, [esp + 0x2d4]
push eax
lea eax, [esp + 0xcc]
push 0x5f54a4
push eax
call fcn.00409b60
add esp, 8
push eax
call fcn.00409b60
add esp, 8
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0xcc]
call fcn.004094f0
cmp dword [eax + 0x18], edi
mov byte [esp + 0x324], 0x12
jb 0x510160
mov eax, dword [eax + 4]
jmp 0x510163
add eax, 4
push eax
push str.BaseLib::BuildIPAddrInfo
push 0x612
push str..commonipconfig.cpp
push 0xf0000000
call fcn.00409860
mov ecx, eax
call fcn.004fb930
cmp dword [esp + 0x30], edi
jb 0x510197
mov edx, dword [esp + 0x1c]
push edx
call fcn.00595eb8
add esp, 4
lea ecx, [esp + 0x114]
mov byte [esp + 0x324], 0xe
call fcn.00409e00
lea eax, [esp + 0x114]
push eax
mov dword [esp + method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.005cdcde
add esp, 4
jmp 0x510205
lea ecx, [esp + 0x150]
push 0x62b8e8
push ecx
call fcn.00409b60
mov eax, dword [esp + 0x2dc]
add esp, 8
cmp dword [esp + 0x2e8], edi
jae 0x5101f4
lea eax, [esp + 0x2d4]
push eax
lea edx, [esp + 0x154]
push edx
call fcn.00409b60
add esp, 8
cmp dword [esp + 0x2e8], edi
mov byte [esp + 0x324], 0xd
jb 0x510226
mov eax, dword [esp + 0x2d4]
push eax
call fcn.00595eb8
add esp, 4
lea ecx, [esp + 0x40]
call fcn.0045c830
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
jmp 0x50ff70
mov esi, dword [esp + 0x38]
mov ecx, dword [esi]
push esi
lea eax, [esp + 0x38]
push eax
push ecx
mov edx, eax
push edx
lea ecx, [esp + 0x158]
push ecx
mov ecx, eax
mov byte [esp + 0x338], 8
call fcn.0045c560
mov edx, dword [esp + 0x38]
push edx
call fcn.00595eb8
mov esi, dword [esp + 0xc0]
mov edi, dword [esp + 0x4c]
add esp, 4
cmp esi, dword [edi + 4]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
jne 0x51028d
call fcn.005b1933
mov esi, dword [esi]
mov ebp, 0xf
jmp 0x50fedd
mov eax, dword [esp + 0x60]
mov edi, dword [eax]
nop
cmp edi, dword [esp + 0x60]
je 0x5104f5
cmp dword [edi + 0x20], 0x10
jb 0x5102b5
mov ecx, dword [edi + 0xc]
jmp 0x5102b8
lea ecx, [edi + 0xc]
mov eax, ecx
mov dword [esp + 0x2e8], ebp
mov dword [esp + 0x2e4], ebx
mov byte [esp + 0x2d4], bl
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x5102d2
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x2d8]
call fcn.00409790
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x254]
mov byte [esp + 0x328], 0x13
call fcn.004094f0
mov ecx, dword [esp + 0x2d4]
mov ebp, 0x10
cmp dword [esp + 0x2e8], ebp
jae 0x510320
lea ecx, [esp + 0x2d4]
cmp dword [eax + 0x18], ebp
jb 0x51032a
mov eax, dword [eax + 4]
jmp 0x51032d
add eax, 4
push ecx
push eax
call fcn.005b4730
add esp, 8
cmp dword [esp + 0x30], ebp
mov esi, eax
jb 0x51034c
mov edx, dword [esp + 0x1c]
push edx
call fcn.00595eb8
add esp, 4
cmp esi, ebx
je 0x51044d
push 1
push 2
lea ecx, [esp + 0xd0]
call fcn.0040b040
cmp dword [esp + 0x2e8], ebp
mov eax, dword [esp + 0x2d4]
mov byte [esp + 0x324], 0x14
jae 0x510383
lea eax, [esp + 0x2d4]
push eax
lea eax, [esp + 0xcc]
push 0x5f54a4
push eax
call fcn.00409b60
add esp, 8
push eax
call fcn.00409b60
add esp, 8
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0xcc]
call fcn.004094f0
cmp dword [eax + 0x18], ebp
mov byte [esp + 0x324], 0x15
jb 0x5103c5
mov eax, dword [eax + 4]
jmp 0x5103c8
add eax, 4
push eax
push str.BaseLib::BuildIPAddrInfo
push 0x624
push str..commonipconfig.cpp
push 0xf0000000
call fcn.00409860
mov ecx, eax
call fcn.004fb930
cmp dword [esp + 0x30], ebp
jb 0x5103fc
mov edx, dword [esp + 0x1c]
push edx
call fcn.00595eb8
add esp, 4
lea ecx, [esp + 0x114]
mov byte [esp + 0x324], 0x13
call fcn.00409e00
lea eax, [esp + 0x114]
push eax
mov dword [esp + method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.005cdcde
add esp, 4
cmp dword [esp + 0x2e8], ebp
mov byte [esp + 0x324], 8
jb 0x5104de
mov ecx, dword [esp + 0x2d4]
push ecx
jmp 0x5104d6
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x254]
call fcn.004094f0
cmp dword [eax + 0x14], ebx
setne byte [esp + 0x17]
cmp dword [esp + 0x30], ebp
jb 0x510479
mov eax, dword [esp + 0x1c]
push eax
call fcn.00595eb8
add esp, 4
cmp byte [esp + 0x17], bl
je 0x510494
lea ecx, [esp + 0x250]
push 0x62b8e8
push ecx
call fcn.00409b60
add esp, 8
cmp edi, dword [esp + 0x60]
jne 0x51049f
call fcn.005b1933
cmp dword [edi + 0x20], ebp
jb 0x5104a9
mov eax, dword [edi + 0xc]
jmp 0x5104ac
lea eax, [edi + 0xc]
push eax
lea edx, [esp + 0x254]
push edx
call fcn.00409b60
add esp, 8
cmp dword [esp + 0x2e8], ebp
mov byte [esp + 0x324], 8
jb 0x5104de
mov eax, dword [esp + 0x2d4]
push eax
call fcn.00595eb8
add esp, 4
cmp edi, dword [esp + 0x60]
jne 0x5104e9
call fcn.005b1933
mov edi, dword [edi]
mov ebp, 0xf
jmp 0x5102a0
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x1d4]
call fcn.004094f0
mov edi, 0x10
cmp dword [eax + 0x18], edi
mov byte [esp + 0x324], 0x16
jb 0x51051d
mov esi, dword [eax + 4]
jmp 0x510520
lea esi, [eax + 4]
mov eax, esi
mov dword [esp + 0x2e8], ebp
mov dword [esp + 0x2e4], ebx
mov byte [esp + 0x2d4], bl
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x510540
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x2d8]
call fcn.00409790
push 2
push 0x5f5300
lea ecx, [esp + 0x2f4]
mov byte [esp + 0x32c], 0x17
mov dword [esp + 0x30c], ebp
mov dword [esp + 0x308], ebx
mov byte [esp + 0x2f8], bl
call fcn.00409790
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x2f4]
push edx
lea ecx, [esp + 0x80]
mov byte [esp + 0x330], 0x18
mov dword [esp + 0x98], ebp
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
call fcn.00407e40
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x2d8]
push eax
lea ecx, [esp + 0x9c]
mov byte [esp + 0x330], 0x19
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
call fcn.00407e40
lea ecx, [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x32c], 0x1a
call fcn.004fbd30
mov ecx, eax
call fcn.00412bf0
cmp dword [esp + 0xa8], edi
jb 0x51062c
mov eax, dword [esp + 0x94]
push eax
call fcn.00595eb8
add esp, 4
cmp dword [esp + 0x8c], edi
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], bl
jb 0x510657
mov ecx, dword [esp + 0x78]
push ecx
call fcn.00595eb8
add esp, 4
cmp dword [esp + 0x304], edi
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
jb 0x510682
mov edx, dword [esp + 0x2f0]
push edx
call fcn.00595eb8
add esp, 4
cmp dword [esp + 0x2e8], edi
mov dword [esp + 0x304], ebp
mov dword [esp + 0x300], ebx
mov byte [esp + 0x2f0], bl
jb 0x5106b0
mov eax, dword [esp + 0x2d4]
push eax
call fcn.00595eb8
add esp, 4
cmp dword [esp + 0x30], edi
mov dword [esp + 0x2e8], ebp
mov dword [esp + 0x2e4], ebx
mov byte [esp + 0x2d4], bl
mov byte [esp + 0x324], 8
jb 0x5106e0
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00595eb8
add esp, 4
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x154]
call fcn.004094f0
cmp dword [eax + 0x18], edi
mov byte [esp + 0x324], 0x1b
jb 0x510703
mov esi, dword [eax + 4]
jmp 0x510706
lea esi, [eax + 4]
mov eax, esi
mov dword [esp + 0x2e8], ebp
mov dword [esp + 0x2e4], ebx
mov byte [esp + 0x2d4], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x510720
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x2d8]
call fcn.00409790
push 3
push 0x5f52fc
lea ecx, [esp + 0x2f4]
mov byte [esp + 0x32c], 0x1c
mov dword [esp + 0x30c], ebp
mov dword [esp + 0x308], ebx
mov byte [esp + 0x2f8], bl
call fcn.00409790
lea eax, [esp + 0x2d0]
push eax
lea ecx, [esp + 0x2f0]
push ecx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x32c], 0x1d
call fcn.00413320
mov ecx, dword [esp + 0x4c]
push eax
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x32c], 0x1e
call fcn.004fbd30
mov ecx, eax
call fcn.00412bf0
cmp dword [esp + 0xa8], edi
jb 0x5107c1
mov eax, dword [esp + 0x94]
push eax
call fcn.00595eb8
add esp, 4
cmp dword [esp + 0x8c], edi
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], bl
jb 0x5107ec
mov ecx, dword [esp + 0x78]
push ecx
call fcn.00595eb8
add esp, 4
cmp dword [esp + 0x304], edi
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
jb 0x510817
mov edx, dword [esp + 0x2f0]
push edx
call fcn.00595eb8
add esp, 4
cmp dword [esp + 0x2e8], edi
mov dword [esp + 0x304], ebp
mov dword [esp + 0x300], ebx
mov byte [esp + 0x2f0], bl
jb 0x510845
mov eax, dword [esp + 0x2d4]
push eax
call fcn.00595eb8
add esp, 4
cmp dword [esp + 0x30], edi
mov dword [esp + 0x2e8], ebp
mov dword [esp + 0x2e4], ebx
mov byte [esp + 0x2d4], bl
mov byte [esp + 0x324], 8
jb 0x510875
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00595eb8
add esp, 4
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x254]
call fcn.004094f0
cmp dword [eax + 0x18], edi
mov byte [esp + 0x324], 0x1f
jb 0x510898
mov esi, dword [eax + 4]
jmp 0x51089b
lea esi, [eax + 4]
mov eax, esi
mov dword [esp + 0x2e8], ebp
mov dword [esp + 0x2e4], ebx
mov byte [esp + 0x2d4], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x5108b5
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x2d8]
call fcn.00409790
push 0xb
push 0x5f5478
lea ecx, [esp + 0x2f4]
mov byte [esp + 0x32c], 0x20
mov dword [esp + 0x30c], ebp
mov dword [esp + 0x308], ebx
mov byte [esp + 0x2f8], bl
call fcn.00409790
lea eax, [esp + 0x2d0]
push eax
lea ecx, [esp + 0x2f0]
push ecx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x32c], 0x21
call fcn.00413320
mov ecx, dword [esp + 0x4c]
push eax
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x32c], 0x22
call fcn.004fbd30
mov ecx, eax
call fcn.00412bf0
cmp dword [esp + 0xa8], edi
jb 0x510956
mov eax, dword [esp + 0x94]
push eax
call fcn.00595eb8
add esp, 4
cmp dword [esp + 0x8c], edi
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], bl
jb 0x510981
mov ecx, dword [esp + 0x78]
push ecx
call fcn.00595eb8
add esp, 4
cmp dword [esp + 0x304], edi
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
jb 0x5109ac
mov edx, dword [esp + 0x2f0]
push edx
call fcn.00595eb8
add esp, 4
cmp dword [esp + 0x2e8], edi
mov dword [esp + 0x304], ebp
mov dword [esp + 0x300], ebx
mov byte [esp + 0x2f0], bl
jb 0x5109da
mov eax, dword [esp + 0x2d4]
push eax
call fcn.00595eb8
add esp, 4
cmp dword [esp + 0x30], edi
mov dword [esp + 0x2e8], ebp
mov dword [esp + 0x2e4], ebx
mov byte [esp + 0x2d4], bl
jb 0x510a02
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00595eb8
add esp, 4
lea ecx, [esp + 0x5c]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.00408360
mov edx, dword [esp + 0x60]
push edx
call fcn.00595eb8
add esp, 4
lea ecx, [esp + 0x68]
mov dword [esp + 0x60], ebx
call fcn.00408360
mov eax, dword [esp + 0x6c]
push eax
call fcn.00595eb8
add esp, 4
lea ecx, [esp + 0xac]
mov dword [esp + 0x6c], ebx
call fcn.00408360
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.00595eb8
add esp, 4
lea ecx, [esp + 0x50]
mov dword [esp + 0xb0], ebx
call fcn.00408360
mov edx, dword [esp + 0x54]
push edx
call fcn.00595eb8
add esp, 4
lea ecx, [esp + 0x29c]
mov dword [esp + 0x54], ebx
mov byte [esp + 0x324], 2
call fcn.00409e00
lea eax, [esp + 0x29c]
mov esi, vtable.std::ios_base.0
push eax
mov dword [esp + 0x2a0], esi
call fcn.005cdcde
add esp, 4
lea ecx, [esp + 0x19c]
mov byte [esp + 0x324], 1
call fcn.00409e00
lea ecx, [esp + 0x19c]
push ecx
mov dword [esp + 0x1a0], esi
call fcn.005cdcde
add esp, 4
lea ecx, [esp + 0x21c]
mov byte [esp + 0x324], bl
call fcn.00409e00
lea edx, [esp + 0x21c]
push edx
mov dword [esp + 0x220], esi
call fcn.005cdcde
add esp, 4
lea ecx, [esp + 0x32c]
mov dword [esp + 0x324], 0xffffffff
call fcn.00509440
mov ecx, dword [esp + 0x31c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x304]
xor ecx, esp
call fcn.005b1988
add esp, 0x314
ret