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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x40]
cmp eax, dword [ecx + 8]
jbe 0x4990d1
sub esp, 0xc0
mov eax, 0
lea edi, [esp + 0x98]
call fcn.0044b786
mov eax, dword [esp + 0xc8]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0xc4]
mov ebx, dword [edx + 0xc]
lea ebp, [ebx + ecx]
mov dword [esp + 0x58], ebp
mov esi, dword [eax]
mov edi, dword [eax + 8]
mov edx, dword [edx + 8]
cmp ebp, edi
ja 0x499060
cmp ebp, edi
ja 0x4990ca
mov dword [esp + 0x54], edi
mov dword [esp + 0x80], esi
lea eax, [esi + ecx]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call dbg.runtime.memmove
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0xc8]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x54]
mov dword [ecx + 8], eax
mov eax, dword [0x583e20]
test eax, eax
jne 0x499041
mov edx, dword [esp + 0x80]
mov dword [ecx], edx
mov edx, dword [esp + 0xc4]
mov ebx, dword [edx + 0x10]
test ebx, 7
je 0x49882b
test ebx, 0x20
je 0x49880f
lea edi, [esp + 0xac]
lea esi, [esp + 0xcc]
call fcn.0044bc6e
lea edi, [esp + 0x84]
xor eax, eax
call fcn.0044b78b
mov ecx, dword [esp + 0xac]
mov ebx, dword [esp + 0xb0]
mov ebp, ebx
shr ebx, 0x1f
shl ebx, 0x1f
test ebx, ebx
je 0x4987de
mov eax, ecx
shr ecx, 0x1f
shl ebp, 1
or ebp, ecx
mov ecx, ebp
shl ebp, 1
shl eax, 1
shr eax, 0x1f
or eax, ebp
mov ebx, eax
add eax, 0xd7b17f80
mov dword [esp + 0xb4], eax
shr ecx, 0x1f
add ebx, 0xd7b17f80
adc ecx, 0xd
mov dword [esp + 0xb8], ecx
mov eax, dword [esp + 0xac]
and eax, 0x3fffffff
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], 0
mov dword [esp + 0xbc], 0
lea edi, [esp + 0x84]
lea esi, [esp + 0xac]
call fcn.0044bc6e
lea edi, [esp + 0xcc]
lea esi, [esp + 0x84]
call fcn.0044bc6e
mov eax, dword [edx + 0x10]
test eax, 1
jne 0x498e09
mov eax, dword [edx + 0x10]
test eax, 6
jne 0x498acc
mov eax, dword [edx + 0x10]
test eax, 0x18
je 0x498969
test eax, 0x10
je 0x498ab9
mov eax, dword [esp + 0xe4]
lea ecx, [eax - 1]
mov edx, dword [esp + 0xe0]
jmp 0x498858
dec ecx
test ecx, ecx
jle 0x498ab0
cmp ecx, eax
jae 0x4990c3
movzx ebx, byte [edx + ecx]
cmp bl, 0x2f
jne 0x498857
inc ecx
cmp ecx, eax
ja 0x4990bc
sub eax, ecx
mov ebx, eax
neg eax
sar eax, 0x1f
and eax, ecx
add eax, edx
mov ecx, dword [esp + 0xc8]
mov edx, dword [ecx + 4]
lea ebp, [ebx + edx]
mov dword [esp + 0x58], ebp
mov esi, dword [ecx + 8]
mov edi, dword [ecx]
cmp ebp, esi
ja 0x498a56
cmp ebp, esi
ja 0x4990b5
mov dword [esp + 0x80], edi
mov dword [esp + 0x54], esi
lea ecx, [edi + edx]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call dbg.runtime.memmove
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0xc8]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x54]
mov dword [ecx + 8], eax
mov eax, dword [0x583e20]
test eax, eax
jne 0x498a30
mov eax, dword [esp + 0x80]
mov dword [ecx], eax
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 4]
lea ebp, [ebx + 1]
cmp ebp, edx
jg 0x4989bd
lea edx, [ebx + 1]
mov dword [ecx + 4], edx
mov byte [eax + ebx], 0x3a
mov dword [esp], ecx
mov eax, dword [esp + 0xe8]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xffffffff
call dbg.log.itoa
mov eax, dword [esp + 0xc8]
mov ecx, dword [eax + 4]
lea edx, [ecx + 2]
mov ebx, dword [eax + 8]
mov ebp, dword [eax]
cmp edx, ebx
ja 0x49897e
cmp edx, ebx
ja 0x4990ae
movzx esi, word [0x4e9d93]
mov word [ebp + ecx], si
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov ecx, dword [0x583e20]
test ecx, ecx
jne 0x498970
mov dword [eax], ebp
add esp, 0xc0
ret
mov dword [esp], eax
mov dword [esp + 4], ebp
call dbg.runtime.writebarrierptr
jmp 0x498969
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], edx
lea eax, [0x4ce9c0]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call dbg.runtime.growslice
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
jmp 0x498943
lea ecx, [0x4ce9c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call dbg.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xc8]
mov dword [ebx + 8], edx
mov edx, dword [0x583e20]
test edx, edx
jne 0x498a0b
mov dword [ebx], eax
mov ebx, ecx
mov ecx, dword [esp + 0xc8]
jmp 0x498908
mov dword [esp + 0x7c], eax
mov dword [esp + 0x50], ecx
mov dword [esp], ebx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0xc8]
jmp 0x4989fd
mov dword [esp], ecx
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0xc8]
jmp 0x4988f7
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe0], eax
mov dword [esp + 0x54], edx
lea eax, [0x4ce9c0]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call dbg.runtime.growslice
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0xe4]
mov ebp, dword [esp + 0x58]
jmp 0x4988a5
mov ebx, eax
mov eax, edx
jmp 0x498887
mov ebx, dword [esp + 0xe4]
mov eax, dword [esp + 0xe0]
jmp 0x498887
mov edi, esp
lea esi, [esp + 0xcc]
call fcn.0044bc6e
call dbg.time.Time.Clock
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0xc8]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call dbg.log.itoa
mov eax, dword [esp + 0xc8]
mov ecx, dword [eax + 8]
mov edx, dword [eax]
mov ebx, dword [eax + 4]
lea ebp, [ebx + 1]
cmp ebp, ecx
jg 0x498d94
lea ecx, [ebx + 1]
mov dword [eax + 4], ecx
mov byte [edx + ebx], 0x3a
mov dword [esp], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call dbg.log.itoa
mov eax, dword [esp + 0xc8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov ebx, dword [eax]
lea ebp, [edx + 1]
cmp ebp, ecx
jg 0x498d1f
lea ecx, [edx + 1]
mov dword [eax + 4], ecx
mov byte [ebx + edx], 0x3a
mov dword [esp], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call dbg.log.itoa
mov eax, dword [esp + 0xc4]
mov ecx, dword [eax + 0x10]
test ecx, 4
jne 0x498c37
mov ecx, dword [esp + 0xc8]
mov edx, dword [ecx]
mov ebx, dword [ecx + 8]
mov ebp, dword [ecx + 4]
lea esi, [ebp + 1]
cmp esi, ebx
jg 0x498bc3
lea ebx, [ebp + 1]
mov dword [ecx + 4], ebx
mov byte [edx + ebp], 0x20
mov edx, eax
jmp 0x49882b
lea eax, [0x4ce9c0]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
call dbg.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xc8]
mov dword [ebx + 8], edx
mov edx, dword [0x583e20]
test edx, edx
jne 0x498c12
mov dword [ebx], eax
mov ebp, ecx
mov edx, eax
mov eax, dword [esp + 0xc4]
mov ecx, ebx
jmp 0x498bb2
mov dword [esp + 0x78], eax
mov dword [esp + 0x4c], ecx
mov dword [esp], ebx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0xc8]
jmp 0x498c03
mov ecx, dword [esp + 0xc8]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 4]
mov ebp, dword [ecx]
mov esi, ecx
lea ecx, [ebx + 1]
cmp ecx, edx
jg 0x498caf
lea ecx, [ebx + 1]
mov dword [esi + 4], ecx
mov byte [ebp + ebx], 0x2e
lea edi, [esp + 0x98]
mov eax, esi
lea esi, [esp + 0xcc]
call fcn.0044bc6e
mov ecx, dword [esp + 0x98]
and ecx, 0x3fffffff
mov edx, eax
mov eax, 0x4189374c
mov ebx, edx
imul ecx
sar edx, 8
sar ecx, 0x1f
sub edx, ecx
mov dword [esp + 4], edx
mov dword [esp], ebx
mov dword [esp + 8], 6
call dbg.log.itoa
mov eax, dword [esp + 0xc4]
jmp 0x498b9c
lea eax, [0x4ce9c0]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call dbg.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xc8]
mov dword [ebx + 8], edx
mov edx, dword [0x583e20]
test edx, edx
jne 0x498cfa
mov dword [ebx], eax
mov esi, ebx
mov ebx, ecx
mov ebp, eax
jmp 0x498c4f
mov dword [esp + 0x74], eax
mov dword [esp + 0x48], ecx
mov dword [esp], ebx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0xc8]
jmp 0x498cef
lea eax, [0x4ce9c0]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
call dbg.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xc8]
mov dword [ebx + 8], edx
mov edx, dword [0x583e20]
test edx, edx
jne 0x498d6f
mov dword [ebx], eax
mov edx, ecx
mov ebx, eax
mov eax, dword [esp + 0xc8]
jmp 0x498b64
mov dword [esp + 0x70], eax
mov dword [esp + 0x44], ecx
mov dword [esp], ebx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0xc8]
jmp 0x498d5f
lea eax, [0x4ce9c0]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
call dbg.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xc8]
mov dword [ebx + 8], edx
mov edx, dword [0x583e20]
test edx, edx
jne 0x498de4
mov dword [ebx], eax
mov ebx, ecx
mov edx, eax
mov eax, dword [esp + 0xc8]
jmp 0x498b28
mov dword [esp + 0x6c], eax
mov dword [esp + 0x40], ecx
mov dword [esp], ebx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0xc8]
jmp 0x498dd4
mov edi, esp
lea esi, [esp + 0xcc]
call fcn.0044bc6e
call dbg.time.Time.Date
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0xc8]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], 4
call dbg.log.itoa
mov eax, dword [esp + 0xc8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
lea ebp, [edx + 1]
cmp ebp, ebx
jg 0x498fd1
lea ebx, [edx + 1]
mov dword [eax + 4], ebx
mov byte [ecx + edx], 0x2f
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call dbg.log.itoa
mov eax, dword [esp + 0xc8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
lea ebp, [edx + 1]
cmp ebp, ebx
jg 0x498f61
lea ebx, [edx + 1]
mov dword [eax + 4], ebx
mov byte [ecx + edx], 0x2f
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call dbg.log.itoa
mov eax, dword [esp + 0xc8]
mov ecx, dword [eax + 8]
mov edx, dword [eax]
mov ebx, dword [eax + 4]
lea ebp, [ebx + 1]
cmp ebp, ecx
jg 0x498eef
lea ecx, [ebx + 1]
mov dword [eax + 4], ecx
mov byte [edx + ebx], 0x20
mov edx, dword [esp + 0xc4]
jmp 0x49881d
lea eax, [0x4ce9c0]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
call dbg.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xc8]
mov dword [ebx + 8], edx
mov edx, dword [0x583e20]
test edx, edx
jne 0x498f3c
mov dword [ebx], eax
mov ebx, ecx
mov edx, eax
mov eax, dword [esp + 0xc8]
jmp 0x498ed9
mov dword [esp + 0x68], eax
mov dword [esp + 0x3c], ecx
mov dword [esp], ebx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0xc8]
jmp 0x498f2f
lea eax, [0x4ce9c0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call dbg.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xc8]
mov dword [ebx + 8], edx
mov edx, dword [0x583e20]
test edx, edx
jne 0x498fac
mov dword [ebx], eax
mov edx, ecx
mov ecx, eax
mov eax, ebx
jmp 0x498ea1
mov dword [esp + 0x64], eax
mov dword [esp + 0x38], ecx
mov dword [esp], ebx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0xc8]
jmp 0x498fa1
lea eax, [0x4ce9c0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call dbg.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xc8]
mov dword [ebx + 8], edx
mov edx, dword [0x583e20]
test edx, edx
jne 0x49901c
mov dword [ebx], eax
mov edx, ecx
mov ecx, eax
mov eax, ebx
jmp 0x498e65
mov dword [esp + 0x60], eax
mov dword [esp + 0x34], ecx
mov dword [esp], ebx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0xc8]
jmp 0x499011
mov dword [esp], ecx
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov ecx, dword [esp + 0xc8]
jmp 0x49872e
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x30], ebx
lea eax, [0x4ce9c0]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebp
call dbg.runtime.growslice
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x58]
jmp 0x4986dc
call dbg.runtime.panicslice
ud2
call dbg.runtime.panicslice
ud2
call dbg.runtime.panicslice
ud2
call dbg.runtime.panicindex
ud2
call dbg.runtime.panicslice
ud2
call dbg.runtime.morestack_noctxt
jmp dbg.log.(*Logger).formatHeader