Function at 0x10017c20
Capabilities:
Connect socket

Disassembly:
push ebp
lea ebp, [esp - 0x6658]
mov eax, 0x6658
call fcn.10140530
push 0xffffffffffffffff
push 0x10147ee8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x10189710]
xor eax, ebp
mov dword [ebp + 0x6654], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x6660]
mov edi, dword [ebp + 0x6668]
mov ebx, dword [ebp + 0x6664]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x666c]
mov dword [ebp - 0x34], eax
mov eax, 1
push 0x207
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 0x6670]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp + 0x6674]
lea eax, [ebp + 0x603d]
push 0
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x6c], 0x101aadfc
mov dword [ebp - 0x30], 0
mov byte [ebp + 0x603c], 0
call fcn.1012e060
add esp, 0xc
lea esi, [ebp]
call fcn.10093c10
mov eax, dword [ebp - 0x18]
xor esi, esi
mov byte [ebp - 4], 1
cmp eax, esi
je 0x10017ced
mov dword [eax], esi
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x14], esi
cmp eax, esi
je 0x10017cff
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
cmp edi, esi
je 0x10017d06
mov byte [edi], 0
mov edx, dword [ebp - 0x20]
push 0x40
push edx
mov dword [ebp - 0x68], esi
call fcn.10128490
add esp, 8
cmp eax, esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
je 0x10017d39
inc eax
push eax
lea eax, [ebp + 0x603c]
push eax
call esi
mov edx, dword [ebp - 0x20]
lea ecx, [ebp + 0x603c]
push ecx
push edx
call esi
mov edi, dword [ebp - 0x20]
push edi
lea eax, [ebp + 0x603c]
push eax
call esi
mov ecx, edi
lea edx, [ebp + 0x644c]
mov edi, edi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x10017d50
lea ecx, [ebp + 0x644c]
push 0x3a
push ecx
call fcn.10128490
add esp, 8
test eax, eax
je 0x10017d72
mov byte [eax], 0
lea edx, [ebp + 0x644c]
push edx
call sub.WS2_32.dll_inet_addr
mov dword [ebp + 0x228], eax
cmp eax, 0xffffffff
je 0x10017e02
lea ecx, [ebp + 0x603c]
lea edx, [ebp + 0x644c]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x10017d95
cmp dword [0x101aadfc], 0
jne 0x10018226
xor eax, eax
mov dword [ebp + 0x224], eax
mov dword [ebp + 0x228], eax
mov dword [ebp + 0x22c], eax
mov dword [ebp + 0x230], eax
lea eax, [ebp + 0x644c]
mov edx, 2
push 0x3a
xor edi, edi
push eax
mov word [ebp + 0x224], dx
lea esi, [edi + 0x19]
call fcn.10129030
add esp, 8
cmp eax, edi
jne 0x1001836d
push esi
call sub.WS2_32.dll_htons
mov word [ebp + 0x226], ax
jmp 0x1001839e
cmp dword [ebp - 0x30], 1
jne 0x10017e23
lea ecx, [ebp + 0x603c]
lea edx, [ebp + 0x644c]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x10017e14
jmp 0x10017d9f
cmp dword [ebp - 0x28], 0
je 0x1001821e
cmp dword [0x101aadfc], 0
je 0x10017e6a
lea eax, [ebp]
mov byte [ebp - 4], 0
call fcn.10093d00
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x6654]
xor ecx, ebp
call fcn.10127db1
add ebp, 0x6658
mov esp, ebp
pop ebp
ret
mov eax, dword [0x101aaf04]
push 0x207
lea ecx, [ebp + 4]
push str.149.112.112.112_8.8.8.8
push ecx
mov dword [ebp + 0x21c], 0xa
mov dword [ebp], eax
call fcn.101287f0
add esp, 0xc
cmp byte [ebp + 0x20a], 0
je 0x10017ea2
mov byte [ebp + 0x20b], 0
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
push edx
lea eax, [ebp]
push ebx
push eax
mov edx, edi
call fcn.100191f0
add esp, 0xc
test eax, eax
jne 0x10018186
lea ecx, [ebp + 4]
push ecx
push edi
push 0x1019f1d8
push str._s:_Resolving_MX_for__s_using_DNS_server_s___s...
call fcn.10017540
add esp, 0x10
lea ecx, [ebp]
call fcn.10093d50
test eax, eax
jne 0x10017efe
lea edx, [ebp + 4]
push edx
push 0x1019f1d8
push str._s:_MX_lookup_failed_with__s_server__Server_may_be_down.
call fcn.10017540
add esp, 0xc
jmp 0x1001821e
mov eax, dword [ebp + 0x220]
mov ecx, dword [eax]
cmp dword [ecx + 4], 0
mov dword [ebp - 0x2c], 1
jle 0x10017fec
mov byte [ebp + 0x6244], 0
xor esi, esi
mov edx, dword [eax]
cmp esi, dword [edx + 4]
jge 0x10017f49
mov edx, esi
call fcn.10094980
push 0x2c
push eax
call fcn.10128490
add esp, 8
test eax, eax
je 0x10017f40
mov byte [eax], 0
mov eax, dword [ebp + 0x220]
inc esi
jmp 0x10017f20
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
xor esi, esi
mov ecx, dword [eax]
cmp esi, dword [ecx + 4]
jge 0x10017fc3
cmp byte [ebp + 0x6244], 0
je 0x10017f75
push 0x10159810
lea edx, [ebp + 0x6244]
push edx
call ebx
mov eax, dword [ebp + 0x220]
mov eax, dword [eax]
test esi, esi
jl 0x10017fae
mov ecx, dword [eax + 4]
dec ecx
cmp esi, ecx
jg 0x10017fae
mov eax, dword [eax]
xor ecx, ecx
cmp ecx, esi
jge 0x10017f95
test eax, eax
je 0x10017fae
mov eax, dword [eax + 4]
inc ecx
jmp 0x10017f87
test eax, eax
je 0x10017fae
mov eax, dword [eax]
push eax
lea edx, [ebp + 0x6244]
push edx
call ebx
mov eax, dword [ebp + 0x220]
inc esi
jmp 0x10017f51
xor eax, eax
push eax
lea edx, [ebp + 0x6244]
push edx
call ebx
mov eax, dword [ebp + 0x220]
inc esi
jmp 0x10017f51
lea eax, [ebp + 0x6244]
push eax
push edi
push 0x1019f1d8
push str._s:_MX_Records_found_for__s:__s
call fcn.10017540
add esp, 0x10
lea edx, [ebp]
mov ecx, edi
call fcn.10018fe0
jmp 0x1001821e
lea ecx, [ebp + 4]
push ecx
push edi
push 0x1019f1d8
push str._s:_No_MX_records_found_for__s_on_DNS_Server__s_
call fcn.10017540
mov eax, 1
add esp, 0x10
test eax, eax
je 0x1001821e
push 0x4fff
lea edx, [ebp + 0x235]
push 0
push edx
mov byte [ebp + 0x234], 0
call fcn.1012e060
push 0x3ff
lea eax, [ebp + 0x5a35]
push 0
push eax
mov byte [ebp + 0x5a34], 0
call fcn.1012e060
push edi
push 0x1019f1d8
push str._s:_Will_send_to_A_Record_of__s.
call fcn.10017540
mov eax, dword [ebp - 0x18]
add esp, 0x24
test eax, eax
je 0x10018064
mov dword [eax], 1
mov ecx, dword [ebp + 0x6678]
push ecx
lea edx, [ebp + 0x5a34]
mov ecx, edi
call fcn.10017b20
add esp, 4
cmp byte [ebp + 0x5a34], 0
je 0x100180b0
mov edx, dword [ebp + 0x220]
push edx
lea ebx, [ebp + 0x603c]
call fcn.10094930
inc dword [ebp - 0x14]
mov ecx, ebx
lea edx, [ebp + 0x644c]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x100180a1
jmp 0x10017d9f
xor eax, eax
cmp eax, 1
jne 0x10018172
lea eax, [ebp + 0x234]
push eax
push 0x1019f1d8
push str._s:_Will_send_to_WWW_Record_of__s.
call fcn.10017540
add esp, 0xc
xor eax, eax
push edi
cmp eax, 1
jne 0x100180ea
push str.www._s
lea ecx, [ebp + 0x234]
push ecx
jmp 0x100180f6
push str.www._s.
lea edx, [ebp + 0x234]
push edx
call fcn.10127dc0
add esp, 0xc
push 0x400
lea eax, [ebp + 0x5a34]
push eax
lea ecx, [ebp + 0x234]
push ecx
call sym.DNSLIB.dll_DNSQueryA
cmp byte [ebp + 0x5a34], 0
je 0x1001814f
mov edx, dword [ebp + 0x220]
push edx
lea ebx, [ebp + 0x234]
call fcn.10094930
inc dword [ebp - 0x14]
mov ecx, ebx
lea edx, [ebp + 0x644c]
lea esp, [esp]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x10018140
jmp 0x10017d9f
lea eax, [ebp + 4]
push eax
lea ecx, [ebp + 0x234]
push ecx
push edi
push 0x1019f1d8
push str._s:_No_A_records_found_for_both__s_and__s_on_DNS_Server__s_
call fcn.10017540
add esp, 0x14
jmp 0x1001821e
lea edx, [ebp + 4]
push edx
push edi
push 0x1019f1d8
push str._s:_No_A_records_found_for__s_on_DNS_Server__s_
jmp 0x10018216
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov byte [ebp + 0x6244], 0
xor esi, esi
mov eax, dword [ebp + 0x220]
mov ecx, dword [eax]
cmp esi, dword [ecx + 4]
jge 0x10018201
cmp byte [ebp + 0x6244], 0
je 0x100181b9
push 0x10159810
lea edx, [ebp + 0x6244]
push edx
call edi
mov eax, dword [ebp + 0x220]
mov eax, dword [eax]
test esi, esi
jl 0x100181f2
mov ecx, dword [eax + 4]
dec ecx
cmp esi, ecx
jg 0x100181f2
mov eax, dword [eax]
xor ecx, ecx
cmp ecx, esi
jge 0x100181df
test eax, eax
je 0x100181f2
mov eax, dword [eax + 4]
inc ecx
jmp 0x100181d1
test eax, eax
je 0x100181f2
mov eax, dword [eax]
push eax
lea edx, [ebp + 0x6244]
push edx
call edi
inc esi
jmp 0x10018195
xor eax, eax
push eax
lea edx, [ebp + 0x6244]
push edx
call edi
inc esi
jmp 0x10018195
mov ecx, dword [ebp - 0x20]
lea eax, [ebp + 0x6244]
push eax
push ecx
push 0x1019f1d8
push str._s:_MX_Records_found_for__s_in_cache:__s
call fcn.10017540
add esp, 0x10
mov edx, dword [ebp - 0x6c]
cmp dword [edx], 0
je 0x10018270
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x220]
test eax, eax
je 0x10018254
call fcn.100949b0
mov eax, dword [ebp + 0x220]
mov esi, eax
test eax, eax
je 0x10018254
push eax
call fcn.10094830
push esi
call fcn.10128f9e
add esp, 4
mov eax, dword [ebp + 0x210]
test eax, eax
je 0x10017e42
push eax
call fcn.1006a890
add esp, 4
jmp 0x10017e42
mov ebx, 1
cmp dword [ebp - 0x30], ebx
je 0x10018226
test ebx, ebx
je 0x10018328
mov edi, dword [ebp + 0x220]
mov eax, dword [edi]
mov edx, dword [eax + 4]
test edx, edx
je 0x100182ec
mov esi, dword [ebp - 0x14]
cmp esi, edx
jge 0x100182ec
test esi, esi
jl 0x100182c7
mov ecx, edx
sub ecx, ebx
cmp esi, ecx
jg 0x100182c7
mov eax, dword [eax]
xor ecx, ecx
cmp ecx, esi
jge 0x100182b7
test eax, eax
je 0x100182c1
mov eax, dword [eax + 4]
add ecx, ebx
jmp 0x100182a8
test eax, eax
je 0x100182c1
mov eax, dword [eax]
mov ecx, eax
jmp 0x100182c9
xor eax, eax
mov ecx, eax
jmp 0x100182c9
xor ecx, ecx
lea edx, [ebp + 0x644c]
nop
mov al, byte [ecx]
mov byte [edx], al
add ecx, ebx
add edx, ebx
test al, al
jne 0x100182d0
mov eax, dword [ebp - 0x34]
add esi, ebx
mov dword [ebp - 0x14], esi
test eax, eax
je 0x1001834d
mov dword [eax], esi
jmp 0x1001834d
lea eax, [ebp + 0x644c]
mov byte [ebp + 0x644c], 0
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10018300
sub eax, esi
jne 0x1001834d
test edx, edx
jne 0x1001831d
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x1001831d
cmp dword [ebp - 0x2c], ebx
jne 0x1001831d
mov dword [eax], ebx
mov byte [ebp - 4], 0
mov eax, edi
jmp 0x10018234
lea eax, [ebp + 0x644c]
mov byte [ebp + 0x644c], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10018338
sub eax, edx
je 0x10018226
mov edi, dword [ebp + 0x220]
cmp dword [0x101aadfc], 0
je 0x10017dac
mov byte [ebp - 4], 0
test edi, edi
je 0x10018254
mov eax, edi
jmp 0x10018234
inc eax
push eax
call fcn.10128238
add esp, 4
mov esi, eax
push esi
call sub.WS2_32.dll_htons
lea ecx, [ebp + 0x644c]
push 0x3a
push ecx
mov word [ebp + 0x226], ax
call fcn.10129030
add esp, 8
cmp eax, edi
je 0x1001839e
mov byte [eax], 0
push 0x207
lea edx, [ebp + 0x5e35]
push edi
push edx
call fcn.1012e060
lea eax, [ebp + 0x644c]
push str.127.0.0.1
push eax
mov byte [ebp + 0x5e34], 0
call fcn.10135887
add esp, 0x14
test eax, eax
jne 0x100183db
mov dword [ebp - 0x18], 1
cmp esi, 0x19
je 0x100183de
mov dword [ebp - 0x18], edi
lea ecx, [ebp + 0x644c]
push ecx
call sub.WS2_32.dll_inet_addr
mov dword [ebp + 0x228], eax
cmp eax, 0xffffffff
jne 0x1001855b
push 0x3ff
lea edx, [ebp + 0x5a35]
push edi
push edx
mov byte [ebp + 0x5a34], 0
call fcn.1012e060
mov eax, dword [ebp + 0x6678]
push eax
lea edx, [ebp + 0x5a34]
lea ecx, [ebp + 0x644c]
call fcn.10017b20
add esp, 0x10
cmp byte [ebp + 0x5a34], 0
je 0x10018516
push 1
lea ecx, [ebp - 0x1c]
push 0x2c
push ecx
lea edx, [ebp + 0x6348]
push edx
xor cl, cl
lea edx, [ebp + 0x5a34]
mov dword [ebp - 0x1c], edi
call fcn.10061f00
add esp, 0x10
lea ecx, [ebp + 0x6348]
lea edx, [ebp + 0x5e34]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x10018468
lea eax, [ebp + 0x5e34]
push eax
call sub.WS2_32.dll_inet_addr
lea ecx, [ebp + 0x5e34]
push str.127.0.0.1
push ecx
mov dword [ebp + 0x228], eax
call fcn.10135887
add esp, 8
test eax, eax
jne 0x100184a3
mov dword [ebp - 0x18], 1
push 1
push 0x2c
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp + 0x6348]
push eax
xor cl, cl
lea edx, [ebp + 0x5a34]
call fcn.10061f00
add esp, 0x10
cmp dword [ebp - 0x1c], 0xffffffff
je 0x1001855b
mov ebx, dword [ebp + 0x220]
lea eax, [ebp + 0x6348]
lea edx, [eax + 1]
jmp 0x100184e0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100184e0
sub eax, edx
lea edi, [eax + 1]
push edi
call fcn.1006a7b0
mov esi, eax
add esp, 4
test esi, esi
je 0x100184a3
push edi
lea ecx, [ebp + 0x6348]
push ecx
push esi
call fcn.10130710
mov edi, dword [ebx]
add esp, 0xc
push esi
call fcn.100947a0
jmp 0x100184a3
mov eax, dword [ebp + 0x220]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
cmp edx, dword [ecx + 4]
jl 0x1001821e
mov byte [ebp - 4], 0
call fcn.100949b0
mov eax, dword [ebp + 0x220]
mov esi, eax
cmp eax, edi
je 0x1001854e
push eax
call fcn.10094830
push esi
call fcn.10128f9e
add esp, 4
mov eax, dword [ebp + 0x210]
cmp eax, edi
jmp 0x1001825c
cmp dword [ebp - 0x18], 0
je 0x100185a9
cmp dword [ebp - 0x5c], 0
je 0x100185a9
cmp dword [ebp + 0x6678], 0
jne 0x100185a9
mov eax, dword [ebp + 0x220]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
cmp edx, dword [ecx + 4]
jl 0x1001821e
mov eax, dword [ebp - 0x20]
push eax
push 0x1019f1d8
push str._s:_Possible_looping_to_localhost_for_host__s____
mov dword [0x101b31e8], 1
call fcn.10017540
add esp, 0xc
jmp 0x10018226
xor esi, esi
push esi
push 1
push 2
call sub.WS2_32.dll_socket
mov ebx, eax
or edi, 0xffffffff
cmp ebx, edi
jne 0x100185f9
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x220]
cmp eax, esi
je 0x100185ec
call fcn.100949b0
mov eax, dword [ebp + 0x220]
mov edi, eax
cmp eax, esi
je 0x100185ec
push eax
call fcn.10094830
push edi
call fcn.10128f9e
add esp, 4
mov eax, dword [ebp + 0x210]
cmp eax, esi
jmp 0x1001825c
cmp dword [ebp - 0x68], esi
je 0x1001863c
cmp byte [ebp + 0x5e34], 0
je 0x10018629
lea ecx, [ebp + 0x5e34]
push ecx
lea edx, [ebp + 0x644c]
push edx
push 0x1019f1d8
push str._s:_Establishing_connection_to_default_mailserver__s___s__...
call fcn.10017540
add esp, 0x10
jmp 0x10018680
lea eax, [ebp + 0x644c]
push eax
push 0x1019f1d8
push str._s:_Establishing_connection_to_default_mailserver__s_...
jmp 0x10018678
cmp byte [ebp + 0x5e34], 0
je 0x10018667
lea ecx, [ebp + 0x5e34]
push ecx
lea edx, [ebp + 0x644c]
push edx
push 0x1019f1d8
push str._s:_Establishing_connection_to_mx_host__s___s__...
call fcn.10017540
add esp, 0x10
jmp 0x10018680
lea eax, [ebp + 0x644c]
push eax
push 0x1019f1d8
push str._s:_Establishing_connection_to_mx_host__s_...
call fcn.10017540
add esp, 0xc
xor eax, eax
lea ecx, [ebp + 0x224]
push 0x10
mov edx, ecx
push edx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
push ebx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], 0x10
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], edi
call sub.WS2_32.dll_connect
mov dword [ebp - 0x4c], eax
cmp eax, edi
jne 0x10018714
push 0x103
lea eax, [ebp + 0x6349]
push 0
push eax
mov byte [ebp + 0x6348], 0
call fcn.1012e060
add esp, 0xc
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x44], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x104
mov edi, eax
lea esi, [ebp + 0x6348]
call fcn.100652a0
add esp, 4
xor esi, esi
cmp dword [0x101aadfc], esi
je 0x10018730
cmp ebx, 0xffffffff
je 0x100185be
push ebx
call sub.WS2_32.dll_closesocket
jmp 0x100185be
push 1
push 0x101aadfc
push 0x3a98
push 0x7cf
lea ecx, [ebp + 0x5234]
push ecx
push ebx
xor edx, edx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], esi
call fcn.1000f280
add esp, 0x18
cmp eax, esi
jne 0x1001878a
lea edx, [ebp + 0x644c]
push edx
push 0x1019f1d8
push str._s:_No_welcome_response_on_connection_to_host__s__Will_try_next_MX__if_present_
call fcn.10017540
add esp, 0xc
cmp ebx, 0xffffffff
je 0x1001821e
push ebx
call sub.WS2_32.dll_closesocket
jmp 0x1001821e
lea eax, [ebp + 0x5234]
push eax
call fcn.10061df0
lea ecx, [ebp + 0x5234]
push ecx
push 0x1019f1d8
push str._s:_______s
call fcn.10017540
add esp, 0x10
push 3
lea edx, [ebp + 0x5234]
push 0x10159ac0
push edx
call fcn.1013661b
add esp, 0xc
test eax, eax
je 0x100187f2
mov eax, dword [ebp - 0x60]
cmp eax, esi
je 0x100187de
lea ecx, [ebp + 0x5234]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp ebx, 0xffffffff
je 0x100185be
push ebx
call sub.WS2_32.dll_closesocket
jmp 0x100185be
push 4
lea edx, [ebp + 0x5234]
push str.220_
push edx
call fcn.1013661b
add esp, 0xc
test eax, eax
je 0x10018714
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x220]
cmp eax, esi
je 0x1001883e
call fcn.100949b0
mov eax, dword [ebp + 0x220]
mov edi, eax
cmp eax, esi
je 0x1001883e
push eax
call fcn.10094830
push edi
call fcn.10128f9e
add esp, 4
mov eax, dword [ebp + 0x210]
cmp eax, esi
je 0x10018851
push eax
call fcn.1006a890
add esp, 4
mov eax, ebx
jmp 0x10017e45