Function at 0x434253
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax]
push esi
push edi
mov edi, dword [eax + 0x3b0]
mov dword [ebp - 4], 0
call fcn.004344b0
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], edx
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], edx
cmp dword [edi], 3
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
je 0x4342b0
jmp 0x433fd0
cmp dword [ebp - 4], 0
jne 0x4342b0
mov ecx, dword [edi + 0x1c]
imul ecx, ecx, 0x3e8
cmp dword [ebx + 0x2d0], 0
je 0x43403c
mov esi, dword [ebx + 0x1b8]
mov eax, dword [ebx + 0x1bc]
mov edx, esi
or edx, eax
je 0x434088
mov edx, dword [ebx + 0x460]
cmp dword [ebx + 0x464], eax
jl 0x434088
jg 0x434016
cmp edx, esi
jbe 0x434088
mov ecx, dword [edi + 0x154]
push ecx
mov ecx, dword [ebx + 0x464]
push ecx
push edx
push eax
mov eax, dword [ebx + 0x1b8]
push eax
or esi, 0xffffffff
call fcn.004355a0
mov ecx, eax
add esp, 0x14
jmp 0x43408b
mov esi, dword [ebx + 0x1c0]
mov eax, dword [ebx + 0x1c4]
mov edx, esi
or edx, eax
je 0x434088
mov edx, dword [ebx + 0x458]
cmp dword [ebx + 0x45c], eax
jl 0x434088
jg 0x434062
cmp edx, esi
jbe 0x434088
mov ecx, dword [edi + 0x154]
push ecx
mov ecx, dword [ebx + 0x45c]
push ecx
push edx
push eax
mov eax, dword [ebx + 0x1c0]
push eax
or esi, 0xffffffff
call fcn.004355a0
mov ecx, eax
add esp, 0x14
jmp 0x43408b
mov esi, dword [edi + 0x14]
cmp dword [ebx + 0x194], 0
je 0x4340cb
mov edx, dword [ebx + 0x54]
mov eax, dword [ebx + 0x50]
mov ecx, dword [ebx + 0x5c]
push edx
mov edx, dword [ebx + 0x58]
push eax
push ecx
push edx
call fcn.004344e0
mov ecx, dword [ebx + 0x194]
sub ecx, eax
mov eax, dword [edi + 0x1c]
imul eax, eax, 0x3e8
add esp, 0x10
cmp ecx, eax
jle 0x4340c5
mov ecx, eax
jmp 0x4340cb
test ecx, ecx
jns 0x4340cb
xor ecx, ecx
push ecx
push 0xffffffffffffffff
push esi
call fcn.0042c700
mov esi, eax
call fcn.004344b0
mov ecx, dword [ebx + 0x50]
mov dword [ebx + 0x58], eax
mov eax, dword [ebx + 0x54]
push eax
mov eax, dword [ebx + 0x58]
push ecx
push edx
push eax
mov dword [ebx + 0x5c], edx
call fcn.004344e0
add esp, 0x1c
cmp eax, dword [ebx + 0x194]
jl 0x43411e
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042add0
add esp, 4
test eax, eax
jne 0x4342d4
mov edx, dword [ebx + 0x58]
mov eax, dword [ebx + 0x5c]
mov dword [ebx + 0x50], edx
mov dword [ebx + 0x54], eax
cmp esi, 0xffffffff
jne 0x434170
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.00431050
push eax
push 0x47fe78
push ebx
call fcn.0042d160
add esp, 0x14
mov dword [edi + 0xc], 5
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4342cd
mov eax, dword [edi]
mov edx, dword [edi + 0x10]
mov ecx, dword [edi + 0xc]
mov edx, dword [edx]
xor esi, esi
cmp eax, 3
ja case.default.0x434169
jmp dword [eax*4 + 0x4342ec]
test esi, esi
jne 0x4341dd
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebx + 0x5c]
mov esi, dword [edi + 0x1c]
push edx
imul esi, esi, 0x3e8
mov edx, dword [ebx + 0x58]
push eax
push ecx
push edx
call fcn.004344e0
add esp, 0x10
cmp eax, esi
jle 0x4342a7
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
mov dword [edi + 0xc], 7
mov esi, dword [eax + 0x3b0]
push ecx
call fcn.0045e8a0
mov edx, dword [ebp - 0x10]
add esp, 4
cmp edx, dword [esi + 0x34]
jl 0x434224
jg 0x4341cb
mov eax, dword [ebp - 0x14]
cmp eax, dword [esi + 0x30]
jbe 0x434224
mov dword [esi + 8], 0xffffff9d
mov dword [esi], 3
jmp 0x434154
mov ecx, dword [ebp + 8]
call fcn.00433d50
mov dword [ebp - 4], eax
test eax, eax
jne 0x4341f7
call fcn.004344b0
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x434209
mov ecx, dword [ebx + 0x38]
mov dword [eax], ecx
mov edx, dword [ebx + 0x3c]
mov dword [eax + 4], edx
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x434149
mov ecx, dword [ebx + 0x40]
mov dword [eax], ecx
mov edx, dword [ebx + 0x44]
mov dword [eax + 4], edx
jmp 0x434149
mov eax, dword [esi + 0x1c]
cdq
add eax, dword [esi + 0x38]
lea ecx, [esi + 0x38]
adc edx, dword [ecx + 4]
cmp dword [ebp - 0x10], edx
jl 0x434154
jg 0x434245
cmp dword [ebp - 0x14], eax
jbe 0x434154
push ecx
call fcn.0045e8a0
add esp, 4
jmp 0x434154
push ecx
call fcn.00433950
add esp, 4
mov esi, eax
jmp 0x4342a4
push ecx
mov eax, edi
call fcn.00432f00
add esp, 4
mov esi, eax
jmp 0x4342a4
mov esi, edi
call fcn.004331d0
mov esi, eax
jmp 0x4342a4
push str.TFTP_finished
push 0x47f40c
push edx
call fcn.0042d0e0
jmp 0x4342a1
push str.Internal_state_machine_error
push 0x47fe78
push edx
call fcn.0042d160
mov esi, 0x47
add esp, 0xc
mov dword [ebp - 4], esi
cmp dword [edi], 3
jne 0x433fd0
mov eax, dword [ebp + 8]
push 0
push 0xffffffffffffffff
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
call fcn.00436740
mov eax, dword [ebp - 4]
add esp, 0x20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 5
mov eax, edi
call fcn.00433cd0
pop edi
pop esi
mov eax, 0x2a
pop ebx
mov esp, ebp
pop ebp
ret